[dm-devel] [PATCH V4 12/12] dm: support IO polling for bio-based dm device

Hannes Reinecke hare at suse.de
Tue Mar 30 06:40:58 UTC 2021


On 3/29/21 5:26 PM, Ming Lei wrote:
> From: Jeffle Xu <jefflexu at linux.alibaba.com>
> 
> IO polling is enabled when all underlying target devices are capable
> of IO polling. The sanity check supports the stacked device model, in
> which one dm device may be build upon another dm device. In this case,
> the mapped device will check if the underlying dm target device
> supports IO polling.
> 
> Reviewed-by: Mike Snitzer <snitzer at redhat.com>
> Signed-off-by: Jeffle Xu <jefflexu at linux.alibaba.com>
> Signed-off-by: Ming Lei <ming.lei at redhat.com>
> ---
>   drivers/md/dm-table.c         | 24 ++++++++++++++++++++++++
>   drivers/md/dm.c               | 14 ++++++++++++++
>   include/linux/device-mapper.h |  1 +
>   3 files changed, 39 insertions(+)
> 
Reviewed-by: Hannes Reinecke <hare at suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare at suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer





More information about the dm-devel mailing list