]> git.ipfire.org Git - thirdparty/linux.git/commit
f2fs: zone: introduce first_zoned_segno in f2fs_sb_info
authorChao Yu <chao@kernel.org>
Fri, 18 Oct 2024 06:26:36 +0000 (14:26 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 1 Nov 2024 01:19:00 +0000 (01:19 +0000)
commit5bc5aae843128aefb1c55d769d057c92dd8a32c9
tree9b6ff38ba80fdc5feb547f96bfbdb8d188c14b99
parent128d333f0dff2fbe41c546581c6f151e9d68cd4c
f2fs: zone: introduce first_zoned_segno in f2fs_sb_info

first_zoned_segno() returns a fixed value, let's cache it in
structure f2fs_sb_info to avoid redundant calculation.

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h
fs/f2fs/segment.c
fs/f2fs/segment.h
fs/f2fs/super.c