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]
Message-Id: <1323367477-21685-1-git-send-email-kamal@canonical.com>
Date:	Thu,  8 Dec 2011 10:04:30 -0800
From:	Kamal Mostafa <kamal@...onical.com>
To:	Jan Kara <jack@...e.cz>, Alexander Viro <viro@...iv.linux.org.uk>,
	Andreas Dilger <adilger.kernel@...ger.ca>,
	Matthew Wilcox <matthew@....cx>,
	Randy Dunlap <rdunlap@...otime.net>,
	Theodore Tso <tytso@....edu>
Cc:	linux-doc@...r.kernel.org, linux-ext4@...r.kernel.org,
	linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
	Surbhi Palande <csurbhi@...il.com>,
	Valerie Aurora <val@...consulting.com>,
	Kamal Mostafa <kamal@...onical.com>,
	Christopher Chaltain <christopher.chaltain@...onical.com>,
	"Peter M. Petrakis" <peter.petrakis@...onical.com>,
	Mikulas Patocka <mpatocka@...hat.com>
Subject: [PATCH v2 0/7] fix s_umount thaw/write and journal deadlock

Thanks everyone for the feedback.  Here's [PATCH v2], with these notable
changes since [PATCH 0/5 resend]:
   - made bisect-safe "Freeze and thaw the journal on ext4 freeze"
   - functional change: allow read-only quota subcmds when frozen
   - added "VFS: Rename and refactor writeback_inodes_sb_if_idle"
   - split-out "VFS: Avoid read-write deadlock in try_to_writeback_inodes_sb"
   - split-out "VFS: Document s_frozen state through freeze_super"
   - dropped "VFS: Rename vfs_check_frozen()"

-----

This set of filesystem freeze/thaw deadlock patches is submitted on
behalf of the authors, Kamal Mostafa, Surbhi Palande and Valerie Aurora.
The patches fix the bug:

BugLink: https://bugs.launchpad.net/bugs/897421

Kamal Mostafa (1):
  VFS: Rename and refactor writeback_inodes_sb_if_idle

Surbhi Palande (2):
  Adding support to freeze and unfreeze a journal
  Freeze and thaw the journal on ext4 freeze

Valerie Aurora (4):

  VFS: Fix s_umount thaw/write deadlock
  VFS: Avoid read-write deadlock in try_to_writeback_inodes_sb
  VFS: Document s_frozen state through freeze_super
  Documentation: Correct s_umount state for freeze_fs/unfreeze_fs

 Documentation/filesystems/Locking |    4 +-
 fs/btrfs/extent-tree.c            |    2 +-
 fs/ext4/inode.c                   |    2 +-
 fs/ext4/super.c                   |   13 +++++-----
 fs/fs-writeback.c                 |   46 +++++++++++++++++++++---------------
 fs/jbd2/journal.c                 |    1 +
 fs/jbd2/transaction.c             |   42 +++++++++++++++++++++++++++++++++
 fs/quota/quota.c                  |   21 ++++++++++++++++-
 fs/super.c                        |   26 +++++++++++++++++++++
 fs/sync.c                         |    4 +-
 include/linux/fs.h                |    7 +++++-
 include/linux/jbd2.h              |    7 +++++
 include/linux/writeback.h         |    4 +-
 13 files changed, 143 insertions(+), 36 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ