Skip to content

Commit 05df016

Browse files
Christoph Hellwigaxboe
authored andcommitted
block: update blk_stack_limits documentation
Listing every single features that needs to be pre-set by stacking drivers does not scale. Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
1 parent 341468e commit 05df016

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

block/blk-settings.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,10 +508,10 @@ int blk_stack_limits(struct queue_limits *t, struct queue_limits *b,
508508
t->features |= (b->features & BLK_FEAT_INHERIT_MASK);
509509

510510
/*
511-
* BLK_FEAT_NOWAIT and BLK_FEAT_POLL need to be supported both by the
512-
* stacking driver and all underlying devices. The stacking driver sets
513-
* the flags before stacking the limits, and this will clear the flags
514-
* if any of the underlying devices does not support it.
511+
* Some feaures need to be supported both by the stacking driver and all
512+
* underlying devices. The stacking driver sets these flags before
513+
* stacking the limits, and this will clear the flags if any of the
514+
* underlying devices does not support it.
515515
*/
516516
if (!(b->features & BLK_FEAT_NOWAIT))
517517
t->features &= ~BLK_FEAT_NOWAIT;

0 commit comments

Comments
 (0)