summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorDaeho Jeong <daehojeong@google.com>2025-03-11 11:29:31 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-18 13:55:15 +0100
commit7cc6b80df66f69bff1acf5cbcba5aaf639fc97c8 (patch)
treea7c17f905967a3f1c61bee7de3df10490ef62c74 /include/net/aligned_data.h
parent65e42a7084d1a19d94ca4e1a620dabde2e0a76ae (diff)
f2fs: add carve_out sysfs node
[ Upstream commit d7b549def0eb42a950eebd3bd5343f5c8088c305 ] For several zoned storage devices, vendors will provide extra space which was used for device level GC than specs and F2FS can use this space for filesystem level GC. To do that, we can reserve the space using reserved_blocks. However, it is not enough, since this extra space should not be shown to users. So, with this new sysfs node, we can hide the space by substracting reserved_blocks from total bytes. Signed-off-by: Daeho Jeong <daehojeong@google.com> Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Stable-dep-of: e462fc48ceb8 ("f2fs: maintain one time GC mode is enabled during whole zoned GC cycle") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions