f2fs_io: add fadvise support
PATCH 1/1 f2fs_io: add fadvise support
f2fs_io fadvise [advice] [offset] [length] [file]
advice can be "willneed" and "sequential".
Signed-off-by Jaegeuk Kim <[email protected]>
--- man/f2fs_io.8 | 3 +++ tools/f2fs_io/f2fs_io.c | 42 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+)
man/f2fs_io.8 +3 -0
@@ -47,6 +47,9 @@ going down with fsck mark \fBpinfile\fR \fI[get|set] [file]\fR Get or set the pinning status on a file. .TP +\fBfadvise\fR \fI[advice] [offset] [length] [file]\fR +Pass an advice to the specified file. The advice can be willneed and sequential. +.TP \fBfallocate\fR \fI[-c] [-i] [-p] [-z] [keep_size] [offset] [length] [file]\fR Request that space be allocated on a file. The .I keep_size
tools/f2fs_io/f2fs_io.c +42 -0
54 lines not on this page · raw message
Signature · 8 lines
2.42.0.582.g8ccd20d70d-goog _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
Quoted 5 lines · Jaegeuk Kim
f2fs_iofadvise [advice] [offset] [length] [file]advice can be "willneed" and "sequential".
Signed-off-by Jaegeuk Kim <[email protected]>
Reviewed-by Chao Yu <[email protected]>
Thanks,
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel