linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4 v3] e2fsprogs journal fixes (UUID and 1k block size issue)
@ 2014-07-28  7:43 Azat Khuzhin
  2014-07-28  7:43 ` [PATCH 1/4 v3] journal: use consts instead of 1024 and add helper for journal with 1k blocksize Azat Khuzhin
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Azat Khuzhin @ 2014-07-28  7:43 UTC (permalink / raw)
  To: linux-ext4; +Cc: tytso, darrick.wong, adilger, Azat Khuzhin

Hi all,

Here is patchset with some fixes for journal code in e2fsprogs.
I've removed first patch from previous version "lib: add EXT2_ prefix for
SUPERBLOCK_{OFFSET,SIZE}", and rebase other patches on top of the maint branch.

I've tested it using "make check" and commands from commits.
I do want to add tests for this cases, but they requires some extra
capabilities (CAP_SYS_ADMIN for mount(2)), while right now tests don't have
such cases, if somebody have proposal how to do this tests without extra
mount(2) I will be happy to hear (for more info about possible test cases see
"tune2fs: update journal super block when changing UUID for fs." and "tune2fs:
update journal users while updating fs UUID (with external journal)")

Thanks.
Azat.

Azat Khuzhin (4):
  journal: use consts instead of 1024 and add helper for journal with 1k
    blocksize
  tune2fs: remove_journal_device(): use the correct block to find jsb
  tune2fs: update journal super block when changing UUID for fs.
  tune2fs: update journal users while updating fs UUID (with external
    journal)

 e2fsck/journal.c        |   5 +-
 lib/ext2fs/ext2fs.h     |   3 +
 lib/ext2fs/kernel-jbd.h |   6 +-
 lib/ext2fs/mkjournal.c  |  28 ++++----
 misc/tune2fs.c          | 166 +++++++++++++++++++++++++++++++++++++++++-------
 misc/uuidd.c            |   3 +-
 6 files changed, 171 insertions(+), 40 deletions(-)

-- 
2.0.1


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

end of thread, other threads:[~2014-08-02  1:32 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-28  7:43 [PATCH 0/4 v3] e2fsprogs journal fixes (UUID and 1k block size issue) Azat Khuzhin
2014-07-28  7:43 ` [PATCH 1/4 v3] journal: use consts instead of 1024 and add helper for journal with 1k blocksize Azat Khuzhin
2014-07-28  7:43 ` [PATCH 2/4 v3] tune2fs: remove_journal_device(): use the correct block to find jsb Azat Khuzhin
2014-07-28  7:43 ` [PATCH 3/4 v3] tune2fs: update journal super block when changing UUID for fs Azat Khuzhin
2014-07-31 15:16   ` Eric Sandeen
2014-07-31 15:45     ` Azat Khuzhin
2014-08-01  6:40       ` Andreas Dilger
2014-07-31 15:53     ` [PATCH] tune2fs: fix uninitialized variable in remove_journal_device Theodore Ts'o
2014-08-01  6:38       ` Andreas Dilger
2014-08-02  1:32         ` Theodore Ts'o
2014-07-28  7:43 ` [PATCH 4/4 v3] tune2fs: update journal users while updating fs UUID (with external journal) Azat Khuzhin
2014-07-28 20:07 ` [PATCH 0/4 v3] e2fsprogs journal fixes (UUID and 1k block size issue) Andreas Dilger
2014-07-28 21:05   ` Theodore Ts'o
2014-07-29 11:36 ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).