Commit 6262351
committed
client: always add one new capsnap if Fb is used and Fw is not used
If we set the 'writing' to 1 when the 'Fb' caps is used then later
if we have any dirty caps it will be skipped and will reuse the
existing capsnap, which is incorrect.
At the same time trigger to flush the buffer when making snapshot
and if the Fb is being used.
Fixes: https://tracker.ceph.com/issues/59343
Signed-off-by: Xiubo Li <[email protected]>1 parent e85f582 commit 6262351
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3575 | 3575 | | |
3576 | 3576 | | |
3577 | 3577 | | |
3578 | | - | |
| 3578 | + | |
3579 | 3579 | | |
3580 | 3580 | | |
3581 | 3581 | | |
| |||
3589 | 3589 | | |
3590 | 3590 | | |
3591 | 3591 | | |
| 3592 | + | |
| 3593 | + | |
| 3594 | + | |
| 3595 | + | |
3592 | 3596 | | |
3593 | 3597 | | |
3594 | 3598 | | |
| |||
4104 | 4108 | | |
4105 | 4109 | | |
4106 | 4110 | | |
4107 | | - | |
4108 | 4111 | | |
4109 | | - | |
| 4112 | + | |
| 4113 | + | |
| 4114 | + | |
| 4115 | + | |
4110 | 4116 | | |
4111 | 4117 | | |
4112 | 4118 | | |
| |||
0 commit comments