aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2022-02-07 13:03:40 +0800
committerIlya Dryomov <idryomov@gmail.com>2022-03-01 18:26:36 +0100
commit370f0acf2c707a3973daf528a725f046c9528f6b (patch)
treeda63b218ce4e5d42a184b2660ec6725c95dc087e /lib/mpi/mpi-bit.c
parent4d9513cf6d20f2977c791087cf4fd9cadb9d28e3 (diff)
ceph: fail the request directly if handle_reply gets an ESTALE
If MDS return ESTALE, that means the MDS has already iterated all the possible active MDSes including the auth MDS or the inode is under purging. No need to retry in auth MDS and will just return ESTALE directly. Retrying in this situation will cause an infinite loop. Also, retrying like this would prevent the kernel VFS layer ESTALE handling from working properly. An ESTALE error is usually an indication that the dcache is wrong, so we want to allow the VFS to redo the lookup and revalidate it properly. URL: https://tracker.ceph.com/issues/53504 Signed-off-by: Xiubo Li <xiubli@redhat.com> Acked-by: Greg Farnum <gfarnum@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions