linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Rewrite ext4_page_mkwrite, fix fs freezing
@ 2011-05-10 22:29 Jan Kara
  2011-05-10 22:29 ` [PATCH 1/3] fs: Create __block_page_mkwrite() helper passing error values back Jan Kara
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Jan Kara @ 2011-05-10 22:29 UTC (permalink / raw)
  To: Ted Tso; +Cc: linux-ext4, linux-fsdevel


  Hi,

  following three patches reimplement ext4_page_mkwrite() so that it returns
locked pages (which is necessary for stable pages work and also for fixing of
freezing code). As a bonus we also avoid taking i_alloc_sem as it's not
necessary and use generic block_page_mkwrite() helper. The common delalloc
path should be more straightforward now.

The last patch in the series blocks mmaped writes on frozen filesystem which
is simple to do now.

I've tested these patches by xfstests and also running fsx-linux for all
modes - delalloc, nodelalloc (data=writeback), nodelalloc (data=ordered),
nodelalloc (data=journal).

								Honza

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

end of thread, other threads:[~2011-05-18 16:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-10 22:29 [PATCH 0/3] Rewrite ext4_page_mkwrite, fix fs freezing Jan Kara
2011-05-10 22:29 ` [PATCH 1/3] fs: Create __block_page_mkwrite() helper passing error values back Jan Kara
2011-05-17 15:09   ` Christoph Hellwig
2011-05-18  7:35     ` Jan Kara
2011-05-10 22:29 ` [PATCH 2/3] ext4: Rewrite ext4_page_mkwrite() to return locked page Jan Kara
2011-05-10 22:29 ` [PATCH 3/3] ext4: Block mmapped writes while the fs is frozen Jan Kara
2011-05-17 15:11   ` Christoph Hellwig
2011-05-18  7:56     ` Jan Kara
2011-05-18  8:07       ` Christoph Hellwig
2011-05-18 14:03         ` Eric Sandeen
2011-05-18 15:25           ` Jan Kara
2011-05-18 16:40             ` Eric Sandeen
2011-05-11  0:30 ` [PATCH 0/3] Rewrite ext4_page_mkwrite, fix fs freezing Ted Ts'o
2011-05-11  9:27   ` Jan Kara
2011-05-11 16:48     ` Darrick J. Wong
2011-05-11 17:03       ` Jan Kara
2011-05-11  7:33 ` Amir G.
2011-05-11  9:43   ` Jan Kara
2011-05-11 10:15     ` Amir G.

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