lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue,  1 Jan 2013 20:30:13 +0800
From:	Zheng Liu <gnehzuil.liu@...il.com>
To:	linux-ext4@...r.kernel.org
CC:	"Theodore Ts'o" <tytso@....edu>
Subject: [PATCH 0/2 v2] debugfs: dump a sparse file as a new sparse file

Currently when we use dump command in debugfs to dump a file, all extents will
be dumped to a new file no matter whether these extents are written or not.  If
we want to dump a sparse file, it will waste time to fill zero into the file.
This patch series tries to avoid to dump unwritten extent.

v2 <- v1:
  - split original patch into two parts.
  - make code clearly according to Ted's suggestions

Here is the first version:
  http://patchwork.ozlabs.org/patch/199303/

Regards,
						- Zheng

Zheng Liu (2):
  debugfs: fixup the hard-coded buffer length in dump_file
  debugfs: dump a sparse file as a new sparse file

 debugfs/dump.c      | 25 ++++++++++++++++++++++---
 lib/ext2fs/ext2fs.h |  3 +++
 lib/ext2fs/fileio.c | 50 +++++++++++++++++++++++++++++++++++++++-----------
 3 files changed, 64 insertions(+), 14 deletions(-)

-- 
1.7.12.rc2.18.g61b472e

--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ