diff options
author | 2025-06-05 08:16:27 +0200 | |
---|---|---|
committer | 2025-06-16 10:05:08 +0200 | |
commit | b0f77d301eb2b4e1fc816f33ade8519ae7f894f4 (patch) | |
tree | 4e1dc53cfb79aaf425850637abbc2f6608cd1e02 /rust/pin-init/internal/src | |
parent | Linux 6.16-rc2 (diff) | |
download | wireguard-linux-b0f77d301eb2b4e1fc816f33ade8519ae7f894f4.tar.xz wireguard-linux-b0f77d301eb2b4e1fc816f33ade8519ae7f894f4.zip |
xfs: check for shutdown before going to sleep in xfs_select_zone
Ensure the file system hasn't been shut down before waiting for a free
zone to become available, because that won't happen on a shut down
file system. Without this processes can occasionally get stuck in
the allocator wait loop when racing with a file system shutdown.
This sporadically happens when running generic/388 or generic/475.
Fixes: 4e4d52075577 ("xfs: add the zoned space allocator")
Reported-by: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hans Holmberg <hans.holmberg@wdc.com>
Tested-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions