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

2014-12-04 Thread Dong Aisheng
On Thu, Dec 04, 2014 at 01:41:39PM +0100, Jan Kara wrote: > On Thu 04-12-14 11:43:17, Dong Aisheng wrote: > > Hi ALL, > > > > We met an filesystem issue when do stable kernel upgrade from 3.10.31 to > > 3.10.53. And we found it's caused by the following commit bf0972039 which > > introduced in 3.1

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

2014-12-04 Thread Jan Kara
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 t

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

2014-12-04 Thread Tejun Heo
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 > sta

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

2014-12-04 Thread Jan Kara
On Thu 04-12-14 14:36:03, Ulf Hansson wrote: > On 4 December 2014 at 13:41, Jan Kara wrote: > > On Thu 04-12-14 11:43:17, Dong Aisheng wrote: > >> Hi ALL, > >> > >> We met an filesystem issue when do stable kernel upgrade from 3.10.31 to > >> 3.10.53. And we found it's caused by the following comm

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

2014-12-04 Thread Ulf Hansson
On 4 December 2014 at 13:41, Jan Kara wrote: > On Thu 04-12-14 11:43:17, Dong Aisheng wrote: >> Hi ALL, >> >> We met an filesystem issue when do stable kernel upgrade from 3.10.31 to >> 3.10.53. And we found it's caused by the following commit bf0972039 which >> introduced in 3.10.53. >> After app

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

2014-12-04 Thread Christoph Hellwig
On Thu, Dec 04, 2014 at 01:41:39PM +0100, Jan Kara wrote: > We should fix bdi lifetime issues by making bdi live as long as the > filesystem on top of it but someone has to find time to do that... I've started that project a couple of times, but never managed to finish it. Let me try to resurrect

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

2014-12-04 Thread Jan Kara
On Thu 04-12-14 11:43:17, Dong Aisheng wrote: > Hi ALL, > > We met an filesystem issue when do stable kernel upgrade from 3.10.31 to > 3.10.53. And we found it's caused by the following commit bf0972039 which > introduced in 3.10.53. > After applying this patch, after system suspend/resume, plug o

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

2014-12-03 Thread Dong Aisheng
Hi ALL, We met an filesystem issue when do stable kernel upgrade from 3.10.31 to 3.10.53. And we found it's caused by the following commit bf0972039 which introduced in 3.10.53. After applying this patch, after system suspend/resume, plug out a SD card will cause the following WARNING if SD card h

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

2014-12-03 Thread Dong Aisheng
Hi ALL, We met an filesystem issue when do stable kernel upgrade from 3.10.31 to 3.10.53. And we found it's caused by the following commit bf0972039 which introduced in 3.10.53. After applying this patch, after system suspend/resume, plug out a SD card will cause the following WARNING if SD card h