Skip to contentSkip to conversation

block: update blk_stack_limits documentation

PATCH Applied Christoph Hellwig 2 participants 2 messages Nov 4, 2024 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: update blk_stack_limits documentation

Listing every single features that needs to be pre-set by stacking drivers does not scale.

---
 block/blk-settings.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
block/blk-settings.c +4 -4
index 95fc39d09872..5ee3d6d1448d 100644
@@ -508,10 +508,10 @@ int blk_stack_limits(struct queue_limits *t, struct queue_limits *b,
 	t->features |= (b->features & BLK_FEAT_INHERIT_MASK);
 
 	/*
-	 * BLK_FEAT_NOWAIT and BLK_FEAT_POLL need to be supported both by the
-	 * stacking driver and all underlying devices.  The stacking driver sets
-	 * the flags before stacking the limits, and this will clear the flags
-	 * if any of the underlying devices does not support it.
+	 * Some feaures need to be supported both by the stacking driver and all
+	 * underlying devices.  The stacking driver sets these flags before
+	 * stacking the limits, and this will clear the flags if any of the
+	 * underlying devices does not support it.
 	 */
 	if (!(b->features & BLK_FEAT_NOWAIT))
 		t->features &= ~BLK_FEAT_NOWAIT;
Signature · 1 line
2.45.2
maintainer Applied
#1 lore raw
Quoted 4 lines · Christoph Hellwig

Listing every single features that needs to be pre-set by stacking drivers does not scale.

Applied, thanks!

[1/1] block: update blk_stack_limits documentation
(no commit info)

Best regards,

Signature · 1 line
Jens Axboe