[PATCH 41/42] block: do not use REQ_FLUSH for tracking flush support

Juergen Gross kernel at pfupf.net
Sun Apr 17 01:46:59 PDT 2016


On 15/04/16 21:16, mchristi at redhat.com wrote:
> From: Mike Christie <mchristi at redhat.com>
> 
> The last patch added a REQ_OP_FLUSH for request_fn drivers
> and the next patch renames REQ_FLUSH to REQ_PREFLUSH which
> will be used by file systems and make_request_fn drivers so
> they can send a write/flush combo.
> 
> This patch drops xen's use of REQ_FLUSH to track if it supports
> REQ_OP_FLUSH requests, so REQ_FLUSH can be deleted.
> 
> v7:
> - Fix feature_flush/fua use.
> 
> v6:
> - Dropped parts of patch handled by Jens's QUEUE_FLAG_WC/FUA
> patches and modified patch to check feature_flush/fua bits.
> 
> Signed-off-by: Mike Christie <mchristi at redhat.com>
> Reviewed-by: Hannes Reinecke <hare at suse.com>
> Cc: Juergen Gross <kernel at pfupf.net>

Acked-by: Juergen Gross <jgross at suse.com>


Juergen



More information about the linux-mtd mailing list