XFS and nobarrier with SSDs
Christoph Hellwig
hch at infradead.org
Mon Dec 14 03:58:23 CST 2015
On Mon, Dec 14, 2015 at 09:38:56AM +0100, Martin Steigerwald wrote:
> Is it safe to use XFS (or any other filesystem) on enterprise SSDs with Power
> Loss Protection (PLP), i.e. some capacitor to provide for enough electricity
> to write out all data in DRAM to flash after a power loss, with a reordering
> I/O scheduler like CFQ?
If the device does not need cache flushes it should not report requiring
flushes, in which case nobarrier will be a noop. Or to phrase it
differently: If nobarrier makes a difference skipping it is not safe.
More information about the xfs
mailing list