diff options
author | Trond Myklebust | 2022-08-24 16:56:48 -0400 |
---|---|---|
committer | Anna Schumaker | 2022-10-03 11:26:37 -0400 |
commit | 90377158bd2d2acd20e6131e84c234d715b7aa42 (patch) | |
tree | 5f6cb8137bdfa5b48f7066feb66fe7d1e4f143bf /fs/libfs.c | |
parent | 0dd7439f382518e9997cfa7ca9d06799dbeb33fa (diff) |
NFSv4/pNFS: Always return layout stats on layout return for flexfiles
We want to ensure that the server never misses the layout stats when
we're closing the file, so that it knows whether or not to update its
internal state. Otherwise, if we were racing with a layout stat, we
might cause the server to invalidate its layout before the layout stat
got processed.
Fixes: 06946c6a3d8b ("pNFS/flexfiles: Only send layoutstats updates for mirrors that were updated")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions