[PATCH v3 1/2] Revert "block: remove the unused blk_bounce enum"

Luca Coelho luciano.coelho at intel.com
Tue Jul 30 13:52:12 UTC 2024


This reverts commit f6860b6069b92559f5cdb65f48e2d82051eaebca.

Signed-off-by: Luca Coelho <luciano.coelho at intel.com>
---
 include/linux/blkdev.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index e85ec73a07d5..e6c597d5c32e 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -349,6 +349,15 @@ typedef unsigned int __bitwise blk_flags_t;
 /* I/O topology is misaligned */
 #define BLK_FLAG_MISALIGNED		((__force blk_flags_t)(1u << 1))
 
+/*
+ * BLK_BOUNCE_NONE:	never bounce (default)
+ * BLK_BOUNCE_HIGH:	bounce all highmem pages
+ */
+enum blk_bounce {
+	BLK_BOUNCE_NONE,
+	BLK_BOUNCE_HIGH,
+};
+
 struct queue_limits {
 	blk_features_t		features;
 	blk_flags_t		flags;
-- 
2.39.2



More information about the Intel-gfx-trybot mailing list