Files
linux/fs/bcachefs
Kent Overstreet 247ce5f1bb bcachefs: Fix bch2_alloc_sectors_start_trans() error handling
When we fail to allocate because of insufficient open buckets, we don't
want to retry from the full set of devices - we just want to retry in
blocking mode.

But if the retry in blocking mode fails with a different error code, we
end up squashing the -BCH_ERR_open_buckets_empty error with an error
that makes us thing we won't be able to allocate (insufficient_devices)
- which is incorrect when we didn't try to allocate from the full set of
devices, and causes the write to fail.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-19 19:01:52 -05:00
..
2023-10-22 17:10:12 -04:00
2023-10-22 17:10:10 -04:00
2023-10-31 12:18:37 -04:00
2023-10-31 12:18:37 -04:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:10:12 -04:00
2023-10-22 17:10:13 -04:00
2023-10-22 17:10:13 -04:00
2023-10-31 12:18:37 -04:00
2023-10-22 17:09:53 -04:00
2023-10-31 12:18:37 -04:00
2023-10-22 17:09:57 -04:00
2023-11-01 21:11:05 -04:00
2023-10-22 17:09:32 -04:00
2023-10-31 12:18:37 -04:00
2023-10-22 17:09:54 -04:00
2023-10-22 17:10:13 -04:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:10:10 -04:00
2023-10-22 17:10:10 -04:00
2023-10-22 17:10:13 -04:00
2023-10-22 17:10:12 -04:00
2023-10-22 17:10:15 -04:00
2023-11-05 13:12:18 -05:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:10:12 -04:00
2023-10-22 17:10:12 -04:00
2023-10-22 17:09:56 -04:00
2023-10-22 17:10:03 -04:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:10:13 -04:00
2023-10-31 12:18:37 -04:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:05 -04:00
2023-11-01 21:11:05 -04:00
2023-11-01 21:11:05 -04:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:10:10 -04:00
2023-11-05 13:12:08 -05:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:09:44 -04:00
2023-11-14 23:44:44 -05:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:10:10 -04:00
2023-10-22 17:09:32 -04:00
2023-10-31 12:18:38 -04:00
2023-11-05 13:12:08 -05:00
2023-11-05 13:12:08 -05:00
2023-10-22 17:10:13 -04:00
2023-10-22 17:10:12 -04:00
2023-11-01 21:11:08 -04:00