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

From: Juergen Gross
Date: Sun Apr 17 2016 - 04:47:17 EST


On 15/04/16 21:16, mchristi@xxxxxxxxxx wrote:
> From: Mike Christie <mchristi@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>
> Cc: Juergen Gross <kernel@xxxxxxxxx>

Acked-by: Juergen Gross <jgross@xxxxxxxx>


Juergen