[Ocfs2-tools-devel] [PATCH 0/7] defragfs.ocfs2: Implement ocfs2 defragmentation tool
Joseph Qi
jiangqi903 at gmail.com
Sat Oct 13 20:38:18 PDT 2018
Hi Larry,
Thanks for your effort to implement this tool.
For the patchset, I'd prefer re-organizing them something like:
framework
specific function implementation
Makefile
manual
...
Thanks,
Joseph
On 18/10/12 18:20, Larry Chen wrote:
> So far, ocfs2 has no defragmentation tool, this set of patches intends to
> implement the function.
>
> The code was transplanted from ext4 defragmentation tool, and was
> modified a lot to fit for ocfs2.
>
> The basic work principle was call ioctl against some specified files or
> files within a dir.
>
> Besides, some new features was add.
> 1. optional low io mode by yielding cpu every period.
> 2. resume from last break.
>
> I need your comments, thanks.
>
> Larry Chen (7):
> defrag.ocfs2 manual
> headers
> libdefrag.c
> record.c
> main.c
> defrag Makefile
> root Makefile & configure.in
>
> Makefile | 2 +-
> configure.in | 1 +
> defragfs.ocfs2/Makefile | 40 ++
> defragfs.ocfs2/defragfs.ocfs2.8.in | 76 ++++
> defragfs.ocfs2/include/libdefrag.h | 36 ++
> defragfs.ocfs2/include/o2defrag.h | 40 ++
> defragfs.ocfs2/include/record.h | 59 +++
> defragfs.ocfs2/libdefrag.c | 126 +++++++
> defragfs.ocfs2/main.c | 735 +++++++++++++++++++++++++++++++++++++
> defragfs.ocfs2/record.c | 262 +++++++++++++
> 10 files changed, 1376 insertions(+), 1 deletion(-)
> create mode 100644 defragfs.ocfs2/Makefile
> create mode 100644 defragfs.ocfs2/defragfs.ocfs2.8.in
> create mode 100644 defragfs.ocfs2/include/libdefrag.h
> create mode 100644 defragfs.ocfs2/include/o2defrag.h
> create mode 100644 defragfs.ocfs2/include/record.h
> create mode 100644 defragfs.ocfs2/libdefrag.c
> create mode 100644 defragfs.ocfs2/main.c
> create mode 100644 defragfs.ocfs2/record.c
>
More information about the Ocfs2-tools-devel
mailing list