Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

block: cleanup queue limit features definition

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>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Damien Le Moal and committed by
Jens Axboe
068f5b5e 0921abdc

+3 -4
+3 -4
include/linux/blkdev.h
··· 340 340 /* skip this queue in blk_mq_(un)quiesce_tagset */ 341 341 #define BLK_FEAT_SKIP_TAGSET_QUIESCE ((__force blk_features_t)(1u << 13)) 342 342 343 + /* atomic writes enabled */ 344 + #define BLK_FEAT_ATOMIC_WRITES ((__force blk_features_t)(1u << 14)) 345 + 343 346 /* undocumented magic for bcache */ 344 347 #define BLK_FEAT_RAID_PARTIAL_STRIPES_EXPENSIVE \ 345 348 ((__force blk_features_t)(1u << 15)) 346 - 347 - /* atomic writes enabled */ 348 - #define BLK_FEAT_ATOMIC_WRITES \ 349 - ((__force blk_features_t)(1u << 16)) 350 349 351 350 /* 352 351 * Flags automatically inherited when stacking limits.