Re: Turning off write-caching

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

 



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.

Best wishes,

Chris.
--
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