- To: Jan Kara <jack@xxxxxxx>
- Subject: Re: [PATCHSET v3.1 0/7] data integrity: Stabilize pages during writeback for various fses
- From: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 10 May 2011 23:05:41 +0900
- Cc: "Darrick J. Wong" <djwong@xxxxxxxxxx>, Theodore Tso <tytso@xxxxxxx>, Alexander Viro <viro@xxxxxxxxxxxxxxxxxx>, Jens Axboe <axboe@xxxxxxxxx>, "Martin K. Petersen" <martin.petersen@xxxxxxxxxx>, Jeff Layton <jlayton@xxxxxxxxxx>, Dave Chinner <david@xxxxxxxxxxxxx>, linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>, Dave Hansen <dave@xxxxxxxxxxxxxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, linux-mm@xxxxxxxxx, Chris Mason <chris.mason@xxxxxxxxxx>, Joel Becker <jlbec@xxxxxxxxxxxx>, linux-scsi <linux-scsi@xxxxxxxxxxxxxxx>, linux-fsdevel <linux-fsdevel@xxxxxxxxxxxxxxx>, linux-ext4@xxxxxxxxxxxxxxx, Mingming Cao <mcao@xxxxxxxxxx>
- In-reply-to: <878vue4qjb.fsf@xxxxxxxxxxxxxxxxxxx> (OGAWA Hirofumi's message of "Tue, 10 May 2011 22:46:16 +0900")
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx> writes:
> Jan Kara <jack@xxxxxxx> writes:
>
>>> I see. So many block layer stuff sounds like broken on corner case? If
>>> so, I more feel this approach should be temporary workaround, and should
>>> use another less-blocking approach.
>> Not many but some... The alternative to less blocking approach is to do
>> copy-out before a page is submitted for IO (or various middle ground
>> alternatives of doing sometimes copyout, sometimes blocking...). That costs
>> some performance as well. We talked about it at LSF and the approach
>> Darrick is implementing was considered the least intrusive. There's really
>> no way to fix these corner cases and keep performance.
>
> You already considered, to copy only if page was writeback (like
> copy-on-write). I.e. if page is on I/O, copy, then switch the page for
> writing new data.
missed question mark in here.
Did you already consider, to copy only if page was writeback (like
copy-on-write)? I.e. if page is on I/O, copy, then switch the page for
writing new data.
> Yes, it is complex. But I think blocking and overhead is minimum, and
> this can be used as infrastructure for copy-on-write FS.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
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]