[PATCH 0/2] NFSv4/flexfiles: fix unwanted in-band IO fallback from DS to MDS
Mike Snitzer <[email protected]>
| Newsgroups | gmane.linux.nfs |
|---|---|
| Message-ID | <[email protected]> |
If FF_FLAGS_NO_IO_THRU_MDS flag is set then NFSv4 flexfiles should never fallback to trying to issue IO directly to the MDS. These patches fix 2 locations where FF_FLAGS_NO_IO_THRU_MDS should inform the flexfiles client's behavior but it isn't considered. A Hammerspace test that caused the time between layout return and get to be much longer widened exposure for unwanted in-band IO to be issued by flexfiles. The test allowed for these fixes to be developed and the test now passes. All review appreciated. Thanks, Mike Mike Snitzer (2): NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS on fatal DS connect errors NFSv4/flexfiles: honor FF_FLAGS_NO_IO_THRU_MDS in pg_get_mirror_count_write fs/nfs/flexfilelayout/flexfilelayout.c | 29 ++++++++++++++++++++++++++ fs/nfs/flexfilelayout/flexfilelayout.h | 16 ++++++++++++++ 2 files changed, 45 insertions(+) -- 2.44.0