Re: [PATCH Linux 2.6.12-rc5-mm1 00/06] blk: barrier flushing reimplementation

Jeff Garzik
2005-05-29T17:37:15Z

Tejun Heo wrote:
> 05_blk_scsi_turn_on_flushing_by_default.patch
> : turn on QUEUE_ORDERED_FLUSH by default if ordered tag isn't supported
>
> As flushing can now be used by devices which only support
> simple tags, there's no need to use
> Scsi_Host_Template->ordered_flush to enable it selectively.
> This patch removes ->ordered_flush and enables flushing
> implicitly when ordered tag isn't supported. If the device
> doesn't support flushing, it can just return -EOPNOTSUPP for
> flush requests. blk layer will switch to QUEUE_OREDERED_NONE
> automatically.

This is rather nice...

Jeff