[PATCH] nvme-multipath: flush every path that completed writes
Keith Busch
kbusch at kernel.org
Tue Dec 1 08:01:59 PST 2026
On Tue, Dec 01, 2026 at 09:05:35AM +0100, Christoph Hellwig wrote:
> On Mon, Nov 30, 2026 at 01:14:38PM -0800, Keith Busch wrote:
> > From: Keith Busch <kbusch at kernel.org>
> >
> > The nvme specification says a flush commits data only for commands
> > completed by the controller, but the multipath head sends the flush down
> > a single path. Writes completed through another controller path are not
> > made durable.
> >
> > Track which paths completed writes, and send a flush to each of them
> > along with the original.
>
> I think the spec is wrong here, and we need to escalate this to the
> technical working group.
Yeah, I also thought the spec was weird here, but that is what it says.
I started a thread. You can find it here with your login:
https://workspace.nvmexpress.org/wg/Technical/mail/thread/28780#58632
More information about the Linux-nvme
mailing list