Thread (32 messages) 32 messages, 3 authors, 2012-06-11

Re: [PATCH 17/27] ext4: Convert to new freezing mechanism

From: Ted Ts'o <tytso@mit.edu>
Date: 2012-06-11 03:13:40
Also in: linux-ext4

On Sat, Jun 02, 2012 at 12:30:31AM +0200, Jan Kara wrote:
We remove most of frozen checks since upper layer takes care of blocking all
writes. We have to handle protection in ext4_page_mkwrite() in a special way
because we cannot use generic block_page_mkwrite(). Also we add a freeze
protection to ext4_evict_inode() so that iput() of unlinked inode cannot modify
a frozen filesystem (we cannot easily instrument ext4_journal_start() /
ext4_journal_stop() with freeze protection because we are missing the
superblock pointer in ext4_journal_stop() in nojournal mode).

CC: linux-ext4@vger.kernel.org
CC: "Theodore Ts'o" <tytso@mit.edu>
BugLink: https://bugs.launchpad.net/bugs/897421
Tested-by: Kamal Mostafa <redacted>
Tested-by: Peter M. Petrakis <redacted>
Tested-by: Dann Frazier <redacted>
Tested-by: Massimo Morana <redacted>
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: "Theodore Ts'o" <tytso@mit.edu>

						- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help