Re: WARNING: at fs/fs-writeback.c when plug out SD card after system suspend/resume

From: Tejun Heo
Date: Thu Dec 04 2014 - 09:16:38 EST


Hello,

On Thu, Dec 04, 2014 at 03:08:35PM +0100, Jan Kara wrote:
> Yeah, but for the filesystem on top it doesn't really matter. Filesystems
> simply don't expect underlying structures can disappear. Changing all
> filesystems to deal with that would be too difficult so we have to make bdi
> stay in memory as needed and just detach it from the device (request queue)
> which goes away.

Wouldn't it be better to concentrate lifetime management to
request_queue instead of inserting another severance layer between bdi
and request_queue?

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/