[Ocfs2-devel] du_enhancement: add the shared extents and footprint statitics support v2

jeff.liu jeff.liu at oracle.com
Fri Feb 26 07:17:20 PST 2010


Hello,

Changes from v1:

1. Add more comments for split_extent() and fix a few bugs in this function based on Tao's comments.
2. Call openat(2) instead of open(2) first to get the file handler in process_extent(), call open(2)
against the full path name will fail when its length is longer than PATH_MAX. for unreadable file we
have to call open(2) instead.

I have done some simple tests, it works well. Any comments or tests help are appreciated!


Regards,
-Jeff



More information about the Ocfs2-devel mailing list