Skip to contentSkip to conversation

block: remove blk_queue_max_integrity_segments

PATCH Applied Christoph Hellwig 2 participants 3 messages May 21, 2024 – May 25, 2024 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: remove blk_queue_max_integrity_segments

This is unused now that all the atomic queue limit conversions are merged.

---
 include/linux/blk-integrity.h | 10 ----------
 1 file changed, 10 deletions(-)
include/linux/blk-integrity.h +0 -10
index e253e7bd0d1793..7428cb43952da0 100644
@@ -66,12 +66,6 @@ blk_integrity_queue_supports_integrity(struct request_queue *q)
 	return q->integrity.profile;
 }
 
-static inline void blk_queue_max_integrity_segments(struct request_queue *q,
-						    unsigned int segs)
-{
-	q->limits.max_integrity_segments = segs;
-}
-
 static inline unsigned short
 queue_max_integrity_segments(const struct request_queue *q)
 {
@@ -151,10 +145,6 @@ static inline void blk_integrity_register(struct gendisk *d,
 static inline void blk_integrity_unregister(struct gendisk *d)
 {
 }
-static inline void blk_queue_max_integrity_segments(struct request_queue *q,
-						    unsigned int segs)
-{
-}
 static inline unsigned short
 queue_max_integrity_segments(const struct request_queue *q)
 {
Signature · 1 line
2.43.0
maintainer
#1 lore raw
Quoted 2 lines · Christoph Hellwig

This is unused now that all the atomic queue limit conversions are merged.

I'll queue this up post -rc1, the 6.10 block tree doesn't have all the bits in there yet.

Signature · 1 line
Jens Axboe
maintainer Applied
#2 lore raw
In reply to Christoph Hellwig
Quoted 4 lines · Christoph Hellwig

This is unused now that all the atomic queue limit conversions are merged.

Applied, thanks!

[1/1] block: remove blk_queue_max_integrity_segments
(no commit info)

Best regards,

Signature · 1 line
Jens Axboe