summaryrefslogtreecommitdiff
path: root/Documentation/mm/multigen_lru.rst
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2023-12-05 16:24:38 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-06 08:21:30 +0300
commit5796230582f6131fa217f0a1700783c459c847d2 (patch)
tree362942955d043d133c66c07da57dfc00a952fb04 /Documentation/mm/multigen_lru.rst
parent7aebaabfede75feda5c5d16991da74124aee428d (diff)
downloadlinux-5796230582f6131fa217f0a1700783c459c847d2.tar.xz
bcachefs: don't attempt rw on unfreeze when shutdown
The internal freeze mechanism in bcachefs mostly reuses the generic rw<->ro transition code. If the fs happens to shutdown during or after freeze, a transition back to rw can fail. This is expected, but returning an error from the unfreeze callout prevents the filesystem from being unfrozen. Skip the read write transition if the fs is shutdown. This allows the fs to unfreeze at the vfs level so writes will no longer block, but will still fail due to the emergency read-only state of the fs. Signed-off-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'Documentation/mm/multigen_lru.rst')
0 files changed, 0 insertions, 0 deletions