[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1377498124-25842-1-git-send-email-liezhi.yang@windriver.com>
Date: Mon, 26 Aug 2013 14:22:01 +0800
From: Robert Yang <liezhi.yang@...driver.com>
To: <linux-ext4@...r.kernel.org>
CC: <tytso@....edu>, <dvhart@...ux.intel.com>,
<darrick.wong@...cle.com>
Subject: [PATCH 0/3 V4] e2fsprogs/debugfs: do sparse copy when src is a sparse file
=== V4:
* Add a free(buf) in debugfs.c to fix a potential memory leak issue.
* Add the contrib/populate-extfs.sh to populate the ext2/3/4 filesystem
from a given directory.
=== V3:
* Use BUFSIZ (which is 8192 on Linux systems) for the max argument
length as Ted suggested.
* Use ext2fs_get_memzero() and move it out of the while loop to get a
better performance as Darrick suggested.
=== V2:
* Use 64K for the IO_BUFSIZE and use malloc() to allocate the memory for
the buffer respect to Darrick's comments.
* Use calloc() and memcmp() to check the sparse block as Darrick
suggested.
* Adjust the frame and remove a few un-needed code as Darrick
suggested.
=== V1:
* There are two patches, one is used for fixing the max length of the
argument, the other one is for sparsing copy when src is a sparse
file.
// Robert
Robert Yang (3):
debugfs.c: the max length of debugfs argument is too short
debugfs.c: do sparse copy when src is a sparse file
contrib/populate-extfs.sh: use debugfs to populate extX fs
contrib/populate-extfs.sh | 105 ++++++++++++++++++++++++++++++++++++++++++++++
debugfs/debugfs.c | 68 +++++++++++++++++++++++++++---
2 files changed, 168 insertions(+), 5 deletions(-)
create mode 100755 contrib/populate-extfs.sh
--
1.8.1.2
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists