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

From: Jan Kara
Date: Thu Dec 04 2014 - 09:31:19 EST


On Thu 04-12-14 09:16:25, Tejun Heo wrote:
> 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?
Maybe, I didn't seriously look into what would the best solution be. I
trust Christoph to find a good solution for it :)

Honza
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
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/