Commit da5c263
committed
mds/quiesce: overdrive an export if it hasn't frozen the tree yet
Just like with the fragmenting, we should abort an ongoing export
if a quiesce is attempted for the directory.
To minimize the stress for the system, we only allow the abort
if the export hasn't yet managed to freeze the tree. If that is the case,
then quiesce will have to wait for the export to finish.
Fixes: https://tracker.ceph.com/issues/66123
Signed-off-by: Leonid Usov <[email protected]>1 parent b1cb6d9 commit da5c263
3 files changed
+31
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13758 | 13758 | | |
13759 | 13759 | | |
13760 | 13760 | | |
| 13761 | + | |
13761 | 13762 | | |
13762 | 13763 | | |
13763 | 13764 | | |
| |||
13795 | 13796 | | |
13796 | 13797 | | |
13797 | 13798 | | |
| 13799 | + | |
13798 | 13800 | | |
13799 | 13801 | | |
13800 | 13802 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
245 | 259 | | |
246 | 260 | | |
247 | 261 | | |
| |||
1229 | 1243 | | |
1230 | 1244 | | |
1231 | 1245 | | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
1232 | 1251 | | |
1233 | | - | |
1234 | 1252 | | |
| 1253 | + | |
| 1254 | + | |
| 1255 | + | |
1235 | 1256 | | |
1236 | | - | |
1237 | | - | |
1238 | | - | |
| 1257 | + | |
1239 | 1258 | | |
1240 | 1259 | | |
1241 | 1260 | | |
| |||
2388 | 2407 | | |
2389 | 2408 | | |
2390 | 2409 | | |
2391 | | - | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
2392 | 2415 | | |
2393 | 2416 | | |
2394 | 2417 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| 185 | + | |
185 | 186 | | |
186 | 187 | | |
187 | 188 | | |
| |||
0 commit comments