From: Damien Le Moal <dlemoal@kernel.org>
To: Jens Axboe <axboe@kernel.dk>, linux-block@vger.kernel.org
Subject: [PATCH 1/2] block: cleanup queue limit features definition
Date: Thu, 29 Jan 2026 16:27:14 +0900 [thread overview]
Message-ID: <20260129072715.1107336-2-dlemoal@kernel.org> (raw)
In-Reply-To: <20260129072715.1107336-1-dlemoal@kernel.org>
Unwrap the definition of BLK_FEAT_ATOMIC_WRITES and
renumber this feature to be sequential with BLK_FEAT_SKIP_TAGSET_QUIESCE.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
---
include/linux/blkdev.h | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 251e0f538c4c..4536211ff33c 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -340,14 +340,13 @@ typedef unsigned int __bitwise blk_features_t;
/* skip this queue in blk_mq_(un)quiesce_tagset */
#define BLK_FEAT_SKIP_TAGSET_QUIESCE ((__force blk_features_t)(1u << 13))
+/* atomic writes enabled */
+#define BLK_FEAT_ATOMIC_WRITES ((__force blk_features_t)(1u << 14))
+
/* undocumented magic for bcache */
#define BLK_FEAT_RAID_PARTIAL_STRIPES_EXPENSIVE \
((__force blk_features_t)(1u << 15))
-/* atomic writes enabled */
-#define BLK_FEAT_ATOMIC_WRITES \
- ((__force blk_features_t)(1u << 16))
-
/*
* Flags automatically inherited when stacking limits.
*/
--
2.52.0
next prev parent reply other threads:[~2026-01-29 7:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-29 7:27 [PATCH 0/2] Cleanup patches Damien Le Moal
2026-01-29 7:27 ` Damien Le Moal [this message]
2026-01-29 9:22 ` [PATCH 1/2] block: cleanup queue limit features definition Nitesh Shetty
2026-01-29 11:52 ` John Garry
2026-01-30 5:40 ` Christoph Hellwig
2026-01-29 7:27 ` [PATCH 2/2] block: introduce blk_queue_rot() Damien Le Moal
2026-01-29 9:18 ` Nitesh Shetty
2026-01-29 9:38 ` Damien Le Moal
2026-01-29 9:44 ` Nitesh Shetty
2026-01-30 5:42 ` Christoph Hellwig
2026-01-30 5:50 ` Damien Le Moal
2026-01-30 5:53 ` Christoph Hellwig
2026-01-30 5:55 ` Damien Le Moal
2026-01-29 18:19 ` [PATCH 0/2] Cleanup patches Martin K. Petersen
2026-01-29 20:17 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260129072715.1107336-2-dlemoal@kernel.org \
--to=dlemoal@kernel.org \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox