[PATCH] blk: add vector gaps queue parameter
Sagi Grimberg
sagig at dev.mellanox.co.il
Thu Jul 30 02:04:19 PDT 2015
> diff --git a/block/blk-settings.c b/block/blk-settings.c
> index 12600bf..4acd505 100644
> --- a/block/blk-settings.c
> +++ b/block/blk-settings.c
> @@ -111,6 +111,7 @@ void blk_set_default_limits(struct queue_limits *lim)
> lim->max_segments = BLK_MAX_SEGMENTS;
> lim->max_integrity_segments = 0;
> lim->seg_boundary_mask = BLK_SEG_BOUNDARY_MASK;
> + lim->virt_mask = 0;
I wander if its better to default to PAGE_SIZE to not change the
existing functionality? Or do we want to force drivers to set virt_mask?
More information about the Linux-nvme
mailing list