Re: [dm-devel] WARNING: at fs/block_dev.c:5 when removing LV on removed device

2015-06-18 Thread Vivek Goyal
On Thu, Jun 18, 2015 at 03:08:15PM -0400, Vivek Goyal wrote: > On Thu, Jun 18, 2015 at 02:16:19PM -0400, Mike Snitzer wrote: > > On Thu, Jun 18 2015 at 2:08pm -0400, > > Andi Kleen wrote: > > > > > > Hmm, so you have a filesystem active on it too? > > > > > > I unmounted it before. > > > > > >

Re: [dm-devel] WARNING: at fs/block_dev.c:5 when removing LV on removed device

2015-06-18 Thread Andi Kleen
> In that case if I do umount after device has gone away, I can see above > WARN(). And it does seem to be coming from. > > WARN_ON_ONCE(write_inode_now(inode, true)) > > If we failed to write back inode, then warning about it sounds right? WARN() is for detecting kernel internal consistency pro

Re: [dm-devel] WARNING: at fs/block_dev.c:5 when removing LV on removed device

2015-06-18 Thread Vivek Goyal
On Thu, Jun 18, 2015 at 02:16:19PM -0400, Mike Snitzer wrote: > On Thu, Jun 18 2015 at 2:08pm -0400, > Andi Kleen wrote: > > > > Hmm, so you have a filesystem active on it too? > > > > I unmounted it before. > > > > > > > > > Also the VG removal did not work of course. > > > > > > Once you