All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] e2fsprogs: Using discard in e2fsprogs tools
@ 2010-10-26 17:54 Lukas Czerner
  2010-10-26 17:54 ` [PATCH 1/7] e2fsprogs: Add discard function into struct_io_manager Lukas Czerner
                   ` (6 more replies)
  0 siblings, 7 replies; 22+ messages in thread
From: Lukas Czerner @ 2010-10-26 17:54 UTC (permalink / raw)
  To: linux-ext4; +Cc: tytso, sandeen, adilger, lczerner

Hi all,

We have came to consensus about using discard in e2fsprogs tools. These
patches generalize use of discard in e2fsprogs tools introduce changes
in mke2fs and e2fsck.

Short summary
-------------

 [PATCH 1/7] e2fsprogs: Add discard function into struct_io_manager
   * generalize use of discard in e2fsprogs and let any tool in e2fsprogs
     take advantage of it withou need to write its own BLKDISCARD wrappers.

 [PATCH 2/7] e2fsprogs: Add discard_zeroes_data into struct_io_manager
   * Give the opportunity for any io_manager to check if device discard
     support zeroes data and save the results into io_manager itself for
     use in any e2fsprofs tool.

 [PATCH 3/7] e2fsck: Keep track of problems during the check

 [PATCH 4/7] e2fsck: Discard free data and inode blocks.
   * In pass 5 after the group descriptors has been changed discard free
     data and inode blocks. The consensus was that it should be OFF by
     default, so it is.
   * Introduce new paid of extended options discard/nodiscard.

 [PATCH 5/7] mke2fs: Change -K option to discard/nodiscard
   * To the same of consistency and to gain ability to easily default it
     the new pair of extended options has been added.
   * The consensus was that it should stay ON by default, so it is.

 [PATCH 6/7] mke2fs: Use unix_discard() for discards

 [PATCH 7/7] mke2fs: Use io_manager discard_zeroes_data property


Any comments appreciated!

Thanks!

-Lukas

---
[PATCH 1/7] e2fsprogs: Add discard function into struct_io_manager
[PATCH 2/7] e2fsprogs: Add discard_zeroes_data into struct_io_manager
[PATCH 3/7] e2fsck: Keep track of problems during the check
[PATCH 4/7] e2fsck: Discard free data and inode blocks.
[PATCH 5/7] mke2fs: Change -K option to discard/nodiscard
[PATCH 6/7] mke2fs: Use unix_discard() for discards
[PATCH 7/7] mke2fs: Use io_manager discard_zeroes_data property

 e2fsck/e2fsck.8.in   |   14 ++++++++
 e2fsck/e2fsck.h      |    2 +
 e2fsck/pass5.c       |   81 +++++++++++++++++++++++++++++++++++++++++++++
 e2fsck/problem.c     |   31 ++++++++++++-----
 e2fsck/problem.h     |    3 ++
 e2fsck/problemP.h    |    1 +
 e2fsck/unix.c        |   10 +++++-
 lib/ext2fs/ext2_io.h |    3 ++
 lib/ext2fs/test_io.c |    1 +
 lib/ext2fs/unix_io.c |   53 +++++++++++++++++++++++++++++
 misc/mke2fs.8.in     |   18 ++++++----
 misc/mke2fs.c        |   90 +++++++++++--------------------------------------
 12 files changed, 219 insertions(+), 88 deletions(-)


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2010-11-18 12:12 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-26 17:54 [PATCH 0/7] e2fsprogs: Using discard in e2fsprogs tools Lukas Czerner
2010-10-26 17:54 ` [PATCH 1/7] e2fsprogs: Add discard function into struct_io_manager Lukas Czerner
2010-11-16 18:28   ` Eric Sandeen
2010-11-16 20:16     ` Lukas Czerner
2010-11-16 21:09       ` Eric Sandeen
2010-11-18  9:52         ` Lukas Czerner
2010-10-26 17:54 ` [PATCH 2/7] e2fsprogs: Add discard_zeroes_data " Lukas Czerner
2010-11-16 18:46   ` Eric Sandeen
2010-10-26 17:54 ` [PATCH 3/7] e2fsck: Keep track of problems during the check Lukas Czerner
2010-11-16 20:03   ` Eric Sandeen
2010-10-26 17:54 ` [PATCH 4/7] e2fsck: Discard free data and inode blocks Lukas Czerner
2010-11-16 21:06   ` Eric Sandeen
2010-11-18 12:12     ` Lukas Czerner
2010-10-26 17:54 ` [PATCH 5/7] mke2fs: Change -K option to discard/nodiscard Lukas Czerner
2010-10-26 18:41   ` Eric Sandeen
2010-10-26 19:24   ` [PATCH 5/7] mke2fs: Deprecate -K option, introduce discard/nodiscard Lukas Czerner
2010-11-16 21:14   ` [PATCH 5/7] mke2fs: Change -K option to discard/nodiscard Eric Sandeen
2010-11-18 10:00     ` Lukas Czerner
2010-10-26 17:54 ` [PATCH 6/7] mke2fs: Use unix_discard() for discards Lukas Czerner
2010-11-16 21:17   ` Eric Sandeen
2010-10-26 17:54 ` [PATCH 7/7] mke2fs: Use io_manager discard_zeroes_data property Lukas Czerner
2010-11-16 21:18   ` Eric Sandeen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.