Write same support
On Mon, Jan 30 2012 at 7:31pm -0500,
Martin K. Petersen <firstname.lastname@example.org> wrote:
> Here's my stab at write same support.
> I have mainly tested using blkdev_issue_zeroout which I have modified to
> use write same if available. It will fall back to writing zeroes the
> old-fashioned way if write same fails. I also wired up an ioctl so I
> could trigger zeroout from userland.
> I have gone back and forth over whether blkdev_issue_write_same() should
> take a struct page or a virtual address. It's not such a big deal for
> devices with a 512-byte logical block size. But for devices with 4K it's
> more of an issue. Comments welcome.
> The discovery heuristics is what stopped this patchkit in its tracks
> last year. So I've spent the last few days testing with every exotic
> (i.e. ancient) SCSI device I could find. I'm pretty happy with how it
> works now but it would be great if more people would put it to the test.
> I have a 'writesame' branch available at:
> for those that want to try it out...
Thanks for getting this together.
Just wanted to let you know I've pulled your branch and will be looking
have dm-thinp make use of write same for the zeroing that it does.
In the process I'll review your code in more detail (so far it looks
good). So please expect to hear back from me next week.
dm-devel mailing list
|All times are GMT. The time now is 05:12 PM.|
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.