diff options
| author | Jaegeuk Kim <[email protected]> | 2024-02-06 11:21:00 -0800 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2024-02-20 11:08:57 -0800 |
| commit | 87161a2b0aed9e9b614bbf6fe8697ad560ceb0cb (patch) | |
| tree | 95301b236fd476c3c3c3a6ad98535d24d76f0222 /include | |
| parent | 21ec68234826b1b54ab980a8df6e33c74cfbee58 (diff) | |
f2fs: deprecate io_bits
Let's deprecate an unused io_bits feature to save CPU cycles and memory.
Reviewed-by: Daeho Jeong <[email protected]>
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/f2fs_fs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/f2fs_fs.h b/include/linux/f2fs_fs.h index 053137a0fe45..9b69c50255b2 100644 --- a/include/linux/f2fs_fs.h +++ b/include/linux/f2fs_fs.h @@ -40,12 +40,6 @@ #define F2FS_ENC_UTF8_12_1 1 -#define F2FS_IO_SIZE(sbi) BIT(F2FS_OPTION(sbi).write_io_size_bits) /* Blocks */ -#define F2FS_IO_SIZE_KB(sbi) BIT(F2FS_OPTION(sbi).write_io_size_bits + 2) /* KB */ -#define F2FS_IO_SIZE_BITS(sbi) (F2FS_OPTION(sbi).write_io_size_bits) /* power of 2 */ -#define F2FS_IO_SIZE_MASK(sbi) (F2FS_IO_SIZE(sbi) - 1) -#define F2FS_IO_ALIGNED(sbi) (F2FS_IO_SIZE(sbi) > 1) - /* This flag is used by node and meta inodes, and by recovery */ #define GFP_F2FS_ZERO (GFP_NOFS | __GFP_ZERO) |