[PATCH] nvme-multipath: set nr_zones for zoned namespaces

hch at lst.de hch at lst.de
Mon Feb 8 10:05:09 EST 2021


On Mon, Feb 08, 2021 at 11:57:47PM +0900, Minwoo Im wrote:
> But, there are also little more differences between the path namespace
> and head namespace:
> 
> 	cat /sys/block/nvme0n1/queue/nr_requests:	128
> 	cat /sys/block/nvme0c0n1/queue/nr_requests:	1023

nr_request is a noop for bio-based drivers.

> 	cat /sys/block/nvme0n1/queue/iostats:		0
> 	cat /sys/block/nvme0c0n1/queue/iostats:		1

iostats for bio based drivers require extra code, and we don't really
need those.

> 	cat /sys/block/nvme0n1/queue/rq_affinity:	0
> 	cat /sys/block/nvme0c0n1/queue/rq_affinity:	1

rq_affinity is a noop for bio based drivers.



More information about the Linux-nvme mailing list