Commit 5d6dd5d
committed
mds: trigger to flush the mdlog in handle_find_ino()
If the the CInode was just created by using openc in current
auth MDS, but the client just sends a getattr request to another
replica MDS. Then here it will make a path of '#INODE-NUMBER'
only because the CInode hasn't been linked yet, and the replica
MDS will keep retrying until the auth MDS flushes the mdlog and
the C_MDS_openc_finish and link_primary_inode are called at most
5 seconds later.
Fixes: https://tracker.ceph.com/issues/55240
Signed-off-by: Xiubo Li <[email protected]>1 parent f6d1cb6 commit 5d6dd5d
1 file changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9484 | 9484 | | |
9485 | 9485 | | |
9486 | 9486 | | |
| 9487 | + | |
| 9488 | + | |
| 9489 | + | |
| 9490 | + | |
| 9491 | + | |
| 9492 | + | |
| 9493 | + | |
| 9494 | + | |
| 9495 | + | |
| 9496 | + | |
| 9497 | + | |
| 9498 | + | |
| 9499 | + | |
9487 | 9500 | | |
9488 | 9501 | | |
9489 | 9502 | | |
| |||
0 commit comments