[PATCH 02/10] xfs: remove some dead bio handling code

Dave Chinner david at fromorbit.com
Tue Nov 30 22:02:26 CST 2010


On Mon, Nov 22, 2010 at 08:05:08AM -0500, Christoph Hellwig wrote:
> We'll never have BIO_EOPNOTSUPP set after calling submit_bio as
> this can only happen for discards, and used to happen for barriers,
> none of which is every submitted by xfs_submit_ioend_bio.  Also
> remove the loop around bio_alloc as it will never fail due to it's
> mempool backing.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Reviewed-by: Dave Chinner <dchinner at redhat.com>
-- 
Dave Chinner
david at fromorbit.com




More information about the xfs mailing list