[dm-devel] [PATCH] fs/block_dev.c: Remove WARN_ON() when inode writeback fails

Tejun Heo tj at kernel.org
Mon Jun 22 18:42:04 UTC 2015


On Mon, Jun 22, 2015 at 02:41:18PM -0400, Vivek Goyal wrote:
> If a block device is hot removed and later last reference to devices
> is put, we try to writeback the dirty inode. But device is gone and
> that writeback fails.
> 
> Currently we do a WARN_ON() which does not seem to be the right thing.
> Convert it to a ratelimited kernel warning.
> 
> Reported-by: Andi Kleen <andi at firstfloor.org>
> Signed-off-by: Vivek Goyal <vgoyal at redhat.com>

Acked-by: Tejun Heo <tj at kernel.org>

Thanks.

-- 
tejun




More information about the dm-devel mailing list