commit | 6f6490914d9b712004ddad648e47b1bf22647978 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <djwong@kernel.org> | Fri Aug 06 11:05:42 2021 -0700 |
committer | Darrick J. Wong <djwong@kernel.org> | Mon Aug 09 10:52:19 2021 -0700 |
tree | 08c5cfeaa4701b2e4d9efdce14faccb4ffdd5687 | |
parent | 01e8f379a4895a9a173391408db4fb49ec91e148 [diff] |
xfs: don't run speculative preallocation gc when fs is frozen Now that we have the infrastructure to switch background workers on and off at will, fix the block gc worker code so that we don't actually run the worker when the filesystem is frozen, same as we do for deferred inactivation. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>