[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <1555523406-2380-2-git-send-email-joshi.k@samsung.com>
Date: Wed, 17 Apr 2019 23:20:00 +0530
From: Kanchan Joshi <joshi.k@...sung.com>
To: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
linux-nvme@...ts.infradead.org, linux-fsdevel@...r.kernel.org,
linux-ext4@...r.kernel.org
Cc: prakash.v@...sung.com, Kanchan Joshi <joshi.k@...sung.com>
Subject: [PATCH v4 1/7] fs: introduce write-hint start point for in-kernel
hints
Introduce "WRITE_LIFE_KERN_MIN". Kernel mode components can define own
write-hints using this as base.
Signed-off-by: Kanchan Joshi <joshi.k@...sung.com>
---
include/linux/fs.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/fs.h b/include/linux/fs.h
index dd28e76..ee27eb4 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -299,6 +299,8 @@ enum rw_hint {
WRITE_LIFE_MEDIUM = RWH_WRITE_LIFE_MEDIUM,
WRITE_LIFE_LONG = RWH_WRITE_LIFE_LONG,
WRITE_LIFE_EXTREME = RWH_WRITE_LIFE_EXTREME,
+/* Kernel should use write-hint starting from this */
+ WRITE_LIFE_KERN_MIN,
};
#define IOCB_EVENTFD (1 << 0)
--
2.7.4
Powered by blists - more mailing lists