Thread (25 messages) 25 messages, 9 authors, 2025-08-21

Do we need an opt-in for file systems use of hw atomic writes?

From: Christoph Hellwig <hch@lst.de>
Date: 2025-07-14 13:17:18
Also in: linux-fsdevel, linux-nvme, linux-xfs

Hi all,

I'm currently trying to sort out the nvme atomics limits mess, and
between that, the lack of a atomic write command in nvme, and the
overall degrading quality of cheap consumer nvme devices I'm starting
to free really uneasy about XFS using hardware atomics by default without
an explicit opt-in, as broken atomics implementations will lead to
really subtle data corruption.

Is is just me, or would it be a good idea to require an explicit
opt-in to user hardware atomics?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help