|
@@ -310,7 +310,7 @@ xfs_scrub_refcountbt_xref_rmap(
|
|
|
struct xfs_scrub_refcnt_frag *n;
|
|
|
int error;
|
|
|
|
|
|
- if (!sc->sa.rmap_cur)
|
|
|
+ if (!sc->sa.rmap_cur || xfs_scrub_skip_xref(sc->sm))
|
|
|
return;
|
|
|
|
|
|
/* Cross-reference with the rmapbt to confirm the refcount. */
|
|
@@ -404,7 +404,7 @@ xfs_scrub_refcount_xref_rmap(
|
|
|
xfs_filblks_t blocks;
|
|
|
int error;
|
|
|
|
|
|
- if (!sc->sa.rmap_cur)
|
|
|
+ if (!sc->sa.rmap_cur || xfs_scrub_skip_xref(sc->sm))
|
|
|
return;
|
|
|
|
|
|
/* Check that we saw as many refcbt blocks as the rmap knows about. */
|
|
@@ -460,7 +460,7 @@ xfs_scrub_xref_is_cow_staging(
|
|
|
int has_refcount;
|
|
|
int error;
|
|
|
|
|
|
- if (!sc->sa.refc_cur)
|
|
|
+ if (!sc->sa.refc_cur || xfs_scrub_skip_xref(sc->sm))
|
|
|
return;
|
|
|
|
|
|
/* Find the CoW staging extent. */
|
|
@@ -504,7 +504,7 @@ xfs_scrub_xref_is_not_shared(
|
|
|
bool shared;
|
|
|
int error;
|
|
|
|
|
|
- if (!sc->sa.refc_cur)
|
|
|
+ if (!sc->sa.refc_cur || xfs_scrub_skip_xref(sc->sm))
|
|
|
return;
|
|
|
|
|
|
error = xfs_refcount_has_record(sc->sa.refc_cur, agbno, len, &shared);
|