Re: [PATCH v2] fs/block_dev.c: Remove WARN_ON() when inode writeback fails

From: Jens Axboe
Date: Fri Oct 30 2015 - 19:46:09 EST


On 10/30/2015 09:34 AM, Jeff Moyer wrote:
From: Vivek Goyal <vgoyal@xxxxxxxxxx>

If a block device is hot removed and later last reference to device
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.

Any concerns with putting this into 4.4 and marking it for stable? Would be awesome to have a "Fixes:" in here too.

--
Jens Axboe

--
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/