diff options
author | Daniel Rosenberg <drosen@google.com> | 2019-05-29 17:49:06 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2019-06-03 13:27:48 -0700 |
commit | 4d3aed70902f299ff2ed7048ef44f0d4d573d786 (patch) | |
tree | 0ee2ad74a318a0b6c4911dd5a8142574d3d3b78f /fs/quota/dquot.c | |
parent | a4c3ecaaadac5693f555cfef1c9eecf4c39df818 (diff) |
f2fs: Add option to limit required GC for checkpoint=disable
This extends the checkpoint option to allow checkpoint=disable:%u[%]
This allows you to specify what how much of the disk you are willing
to lose access to while mounting with checkpoint=disable. If the amount
lost would be higher, the mount will return -EAGAIN. This can be given
as a percent of total space, or in blocks.
Currently, we need to run garbage collection until the amount of holes
is smaller than the OVP space. With the new option, f2fs can mark
space as unusable up front instead of requiring garbage collection until
the number of holes is small enough.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/quota/dquot.c')
0 files changed, 0 insertions, 0 deletions