From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: WARNING: at fs/fs-writeback.c when plug out SD card after system suspend/resume Date: Thu, 4 Dec 2014 09:16:25 -0500 Message-ID: <20141204141625.GA15219@htj.dyndns.org> References: <20141204124139.GC8569@quack.suse.cz> <20141204140835.GA15108@quack.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ulf Hansson , Dong Aisheng , viro@zeniv.linux.org.uk, linux-fsdevel@vger.kernel.org, "linux-kernel@vger.kernel.org" , "linux-mmc@vger.kernel.org" , Dong Aisheng-B29396 , r64343@freescale.com To: Jan Kara Return-path: Content-Disposition: inline In-Reply-To: <20141204140835.GA15108@quack.suse.cz> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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