Commit e464d8e
Darrick J. Wong
xfs: store rtgroup information with a bmap intent
Make the bmap intent items take an active reference to the rtgroup
containing the space that is being mapped or unmapped. We will need
this functionality once we start enabling rmap and reflink on the rt
volume. Technically speaking we need it even for !rtgroups filesystems
to prevent the (dummy) rtgroup 0 from going away, even though this will
never happen.
As a bonus, we can rework the xfs_bmap_deferred_class tracepoint to use
the xfs_group object to figure out the type and group number, widen the
group block number field to fit 64-bit quantities, and get rid of the
now redundant opdev and rtblock fields.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>1 parent ee32135 commit e464d8e
2 files changed
Lines changed: 30 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
| 327 | + | |
| 328 | + | |
327 | 329 | | |
328 | | - | |
| 330 | + | |
329 | 331 | | |
330 | 332 | | |
331 | 333 | | |
| |||
335 | 337 | | |
336 | 338 | | |
337 | 339 | | |
338 | | - | |
| 340 | + | |
339 | 341 | | |
340 | 342 | | |
341 | 343 | | |
| |||
344 | 346 | | |
345 | 347 | | |
346 | 348 | | |
347 | | - | |
348 | | - | |
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| |||
358 | 358 | | |
359 | 359 | | |
360 | 360 | | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | 361 | | |
372 | | - | |
| 362 | + | |
| 363 | + | |
373 | 364 | | |
374 | 365 | | |
375 | 366 | | |
| |||
382 | 373 | | |
383 | 374 | | |
384 | 375 | | |
385 | | - | |
| 376 | + | |
386 | 377 | | |
387 | 378 | | |
388 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3081 | 3081 | | |
3082 | 3082 | | |
3083 | 3083 | | |
3084 | | - | |
| 3084 | + | |
3085 | 3085 | | |
3086 | 3086 | | |
3087 | | - | |
3088 | | - | |
| 3087 | + | |
3089 | 3088 | | |
3090 | 3089 | | |
3091 | 3090 | | |
| |||
3094 | 3093 | | |
3095 | 3094 | | |
3096 | 3095 | | |
| 3096 | + | |
3097 | 3097 | | |
3098 | | - | |
3099 | | - | |
3100 | | - | |
3101 | | - | |
3102 | | - | |
3103 | | - | |
| 3098 | + | |
| 3099 | + | |
| 3100 | + | |
| 3101 | + | |
| 3102 | + | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
3104 | 3111 | | |
3105 | | - | |
3106 | | - | |
3107 | | - | |
3108 | | - | |
3109 | | - | |
3110 | | - | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
3111 | 3115 | | |
3112 | 3116 | | |
3113 | 3117 | | |
| |||
3116 | 3120 | | |
3117 | 3121 | | |
3118 | 3122 | | |
3119 | | - | |
| 3123 | + | |
3120 | 3124 | | |
3121 | 3125 | | |
3122 | | - | |
3123 | 3126 | | |
| 3127 | + | |
3124 | 3128 | | |
3125 | | - | |
3126 | | - | |
| 3129 | + | |
3127 | 3130 | | |
3128 | 3131 | | |
3129 | 3132 | | |
| |||
0 commit comments