Re: [RFC][PATCH] libata: enable SATA disk fua detection on default

From: Christoph Hellwig
Date: Wed May 09 2012 - 04:25:27 EST


On Wed, May 09, 2012 at 02:19:56PM +0800, Zheng Liu wrote:
> disable FUA detection for SATA disk. If FUA feature can be used, we
> could disable io_barrier to improve the performance. Now one solution

You can't run with -o nobarrier just because the driver/hardware support
FUA. However the implementation of -o barrier (aka REQ_FUA) is a lot
more efficient if it is implemented. If your workload has a high
percentage of REQ_FUA requests it might be better to switch the disks to
write through mode entirely.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/