linux/fs/nfs/flexfilelayout
Jonathan Curley dd2fa82473 NFSv4/flexfiles: Fix layout merge mirror check.
Typo in ff_lseg_match_mirrors makes the diff ineffective. This results
in merge happening all the time. Merge happening all the time is
problematic because it marks lsegs invalid. Marking lsegs invalid
causes all outstanding IO to get restarted with EAGAIN and connections
to get closed.

Closing connections constantly triggers race conditions in the RDMA
implementation...

Fixes: 660d1eb223 ("pNFS/flexfile: Don't merge layout segments if the mirrors don't match")
Signed-off-by: Jonathan Curley <jcurley@purestorage.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
2025-09-08 14:37:55 -04:00
..
flexfilelayout.c NFSv4/flexfiles: Fix layout merge mirror check. 2025-09-08 14:37:55 -04:00
flexfilelayout.h nfs: cache all open LOCALIO nfsd_file(s) in client 2025-01-14 17:04:05 -05:00
flexfilelayoutdev.c pNFS/flexfiles: don't attempt pnfs on fatal DS errors 2025-07-22 08:10:17 -04:00
Makefile