Commit 4c1dd79
committed
Merge invocation of should_extend and extend_size
Change should_extend and have it transitively invoke extend_size.
Make extend_size a private method that takes self.
* private because it is not called from an external function
* takes self to calculate thindev size and remaining size in case it has
a filesystem limit.
Since strictly more threads are started than were previously, insert a
post-check on the change that has occurred in order to decide whether
metadata should be written or D-Bus signals sent.
Signed-off-by: mulhern <amulhern@redhat.com>1 parent 03b0003 commit 4c1dd79
2 files changed
Lines changed: 40 additions & 34 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
| 262 | + | |
262 | 263 | | |
263 | 264 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
268 | 276 | | |
269 | 277 | | |
270 | 278 | | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
275 | 291 | | |
276 | 292 | | |
277 | 293 | | |
| |||
286 | 302 | | |
287 | 303 | | |
288 | 304 | | |
289 | | - | |
| 305 | + | |
290 | 306 | | |
291 | 307 | | |
292 | 308 | | |
293 | | - | |
| 309 | + | |
294 | 310 | | |
295 | 311 | | |
296 | 312 | | |
| |||
333 | 349 | | |
334 | 350 | | |
335 | 351 | | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
341 | 355 | | |
342 | 356 | | |
343 | 357 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | | - | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
| 695 | + | |
| 696 | + | |
709 | 697 | | |
710 | 698 | | |
711 | 699 | | |
| |||
720 | 708 | | |
721 | 709 | | |
722 | 710 | | |
723 | | - | |
| 711 | + | |
724 | 712 | | |
725 | 713 | | |
726 | 714 | | |
727 | 715 | | |
728 | 716 | | |
729 | 717 | | |
730 | | - | |
731 | | - | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
732 | 724 | | |
733 | 725 | | |
734 | 726 | | |
| |||
0 commit comments