Re: Turning off write-caching

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 25 Mar 2009 08:25:36 +0000
Chris Webb <chris@xxxxxxxxxxxx> wrote:

> FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx> writes:
> 
> > Seems that we misuse sync_file_range.
> > Can you please try this?
> > 
> > diff --git a/usr/bs_mmap.c b/usr/bs_mmap.c
> [...]
> > diff --git a/usr/bs_rdwr.c b/usr/bs_rdwr.c
> [...]
> > diff --git a/usr/util.h b/usr/util.h
> 
> Thanks! It runs at a much more plausible speed for O_SYNC and O_DIRECT now,
> so this patch does seem to fix the problem.

Thanks!

I've just applied the patch. The next version (v0.9.6) will include
this fix.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux