linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Make block_page_mkwrite() handle frozen fs (V2)
@ 2011-05-18 15:17 Jan Kara
  2011-05-18 15:18 ` [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-18 15:17 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: linux-ext4, Al Viro, tytso, Christoph Hellwig


  Hi,

  this is a second version of my patches which rewrite ext4_page_mkwrite() to
use generic helper. When we are already changing this code, I also added proper
handling of frozen filesystem there in patch 2/3. I've incorporated suggestions
from Christoph in the patches which resulted in some patch reorg. I'd like to
get these patches reviewed and then get them merged possibly via ext4-tree
(although the first two patches might go via Al but that would complicate
merging of ext4 part where I expect more conflicts with ongoing work).

                                                                        Honza


^ permalink raw reply	[flat|nested] 19+ messages in thread
* [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
  0 siblings, 1 reply; 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-23 14:48 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-18 15:17 [PATCH 0/3] Make block_page_mkwrite() handle frozen fs (V2) Jan Kara
2011-05-18 15:18 ` [PATCH 1/3] fs: Create __block_page_mkwrite() helper passing error values back Jan Kara
2011-05-18 18:07   ` Christoph Hellwig
2011-05-18 15:18 ` [PATCH 2/3] vfs: Block mmapped writes while the fs is frozen Jan Kara
2011-05-18 18:12   ` Christoph Hellwig
2011-05-19 12:08     ` Jan Kara
2011-05-18 15:18 ` [PATCH 3/3] ext4: Rewrite ext4_page_mkwrite() to return locked page Jan Kara
2011-05-18 18:00 ` [PATCH 0/3] Make block_page_mkwrite() handle frozen fs (V2) Darrick J. Wong
2011-05-19 10:57   ` Jan Kara
2011-05-20 17:59     ` Ted Ts'o
2011-05-23 13:21       ` Jan Kara
2011-05-23 14:47         ` Ted Ts'o
2011-05-19 12:30   ` Jan Kara
2011-05-19 16:34     ` Darrick J. Wong
2011-05-18 18:13 ` Christoph Hellwig
2011-05-19 12:24   ` Jan Kara
  -- strict thread matches above, loose matches on Subject: below --
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

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