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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 11 May 2011 09:48:36 -0700
From:	"Darrick J. Wong" <djwong@...ibm.com>
To:	Jan Kara <jack@...e.cz>
Cc:	"Ted Ts'o" <tytso@....edu>, linux-ext4@...r.kernel.org,
	linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 0/3] Rewrite ext4_page_mkwrite, fix fs freezing

On Wed, May 11, 2011 at 11:27:52AM +0200, Jan Kara wrote:
> On Tue 10-05-11 20:30:12, Ted Tso wrote:
> > On Wed, May 11, 2011 at 12:29:31AM +0200, Jan Kara wrote:
> > > 
> > >   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.
> > 
> > How does this relate to Darrick Wong's patches?  Are your patches in
> > addition to or instead of his?
>   It's in addition to those (although with my patches, a generic change to
> block_page_mkwrite() would be enough for ext4). If you plan to merge those
> now, I can rediff on top of those patches.

Just to be clear, your new __block_page_mkwrite still needs a patch to call
wait_on_page_writeback to provide stable page writes, correct?

I think we'd still need a wait_on_page_writeback for the "all buffers are
mapped" VM_FAULT_LOCKED exit from ext4_page_mkwrite?

--D
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ