- To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
- Subject: Re: [RFC] block integrity: Fix write after checksum calculation problem
- From: Chris Mason <chris.mason@xxxxxxxxxx>
- Date: Mon, 11 Apr 2011 14:38:30 -0400
- Cc: Jeff Layton <jlayton@xxxxxxxxxx>, djwong <djwong@xxxxxxxxxx>, Jan Kara <jack@xxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, Joel Becker <jlbec@xxxxxxxxxxxx>, "Martin K. Petersen" <martin.petersen@xxxxxxxxxx>, Jens Axboe <axboe@xxxxxxxxx>, linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, Mingming Cao <mcao@xxxxxxxxxx>, linux-scsi <linux-scsi@xxxxxxxxxxxxxxx>
- In-reply-to: <20110411182541.GA29511@xxxxxxxxxxxxx>
- User-agent: Sup/git
Excerpts from Christoph Hellwig's message of 2011-04-11 14:25:41 -0400:
> On Mon, Apr 11, 2011 at 01:41:16PM -0400, Chris Mason wrote:
> > Actually this isn't a nit. Keeping the page locked closes an important
> > hole where it can become writeback again. It might fix the last
> > remaining problem.
>
> Note that the generic block_page_mkwrite atually does that. But only
> xfs and nilfs2 actually make use of it.
>
Btrfs does return VM_FAULT_LOCKED though. I had forgotten to look for
this in the ext4 page_mkwrite call.
-chris
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[SCSI Target Devel]
[Linux SCSI Target Infrastructure]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photos]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Linux IIO]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]