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:14 -04:00
2023-10-22 17:10:12 -04:00
2023-11-04 22:19:13 -04:00
2023-11-04 14:17:11 -04:00
2023-12-19 19:01:52 -05:00
2023-10-22 17:10:10 -04:00
2023-10-22 17:10:10 -04:00
2023-11-13 21:42:22 -05:00
2023-11-04 22:19:13 -04:00
2023-10-31 12:18:37 -04:00
2023-10-31 12:18:37 -04:00
2023-11-28 17:18:24 -05:00
2023-10-22 17:09:45 -04:00
2023-11-28 17:18:24 -05:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-11-04 22:19:13 -04:00
2023-11-01 21:11:08 -04:00
2023-11-05 13:12:18 -05:00
2023-10-22 17:10:12 -04:00
2023-10-22 17:10:13 -04:00
2023-11-05 13:12:18 -05:00
2023-10-22 17:10:13 -04:00
2023-10-22 17:09:56 -04:00
2023-12-03 12:44:18 -05:00
2023-10-31 12:18:37 -04:00
2023-11-28 22:58:22 -05:00
2023-10-22 17:10:10 -04:00
2023-12-03 12:44:18 -05:00
2023-12-03 12:44:18 -05:00
2023-12-14 15:24:14 -05:00
2023-12-14 15:24:14 -05:00
2023-11-24 02:43:12 -05:00
2023-11-24 02:43:12 -05:00
2023-11-13 21:45:01 -05:00
2023-12-03 12:44:18 -05:00
2023-10-22 17:09:56 -04:00
2023-11-04 14:17:11 -04:00
2023-11-01 21:11:08 -04:00
2023-11-14 23:44:43 -05:00
2023-11-14 23:44:44 -05:00
2023-12-19 16:18:16 -05:00
2023-12-19 16:18:13 -05:00
2023-12-04 15:46:31 -05:00
2023-10-22 17:10:14 -04:00
2023-10-22 17:09:50 -04:00
2023-10-22 17:10:13 -04:00
2023-10-22 17:09:50 -04:00
2023-10-22 17:09:53 -04:00
2023-10-22 17:10:13 -04:00
2023-11-28 17:18:24 -05:00
2023-10-31 12:18:37 -04:00
2023-10-31 12:18:37 -04:00
2023-10-22 17:10:10 -04:00
2023-10-22 17:10:16 -04:00
2023-10-22 17:10:15 -04:00
2023-10-22 17:09:57 -04:00
2023-11-28 17:18:24 -05:00
2023-11-01 21:11:05 -04:00
2023-10-22 17:10:16 -04:00
2023-10-22 17:09:32 -04:00
2023-11-05 13:12:17 -05:00
2023-12-11 20:43:11 -05:00
2023-11-25 21:48:42 -05:00
2023-10-31 12:18:37 -04:00
2023-10-22 17:09:56 -04:00
2023-12-08 00:39:56 -05:00
2023-12-08 00:39:56 -05:00
2023-10-31 12:18:37 -04:00
2023-11-14 23:44:43 -05:00
2023-10-31 12:18:37 -04:00
2023-10-22 17:09:54 -04:00
2023-11-13 21:42:22 -05:00
2023-11-05 13:13:57 -05:00
2023-10-22 17:10:13 -04:00
2023-11-28 17:18:24 -05:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:09:50 -04:00
2023-12-06 17:43:21 -05:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:09:45 -04:00
2023-11-05 13:12:18 -05:00
2023-11-04 22:19:13 -04:00
2023-10-22 17:10:10 -04:00
2023-11-24 00:29:58 -05:00
2023-10-22 17:10:10 -04:00
2023-11-13 21:42:21 -05:00
2023-11-13 21:42:21 -05:00
2023-10-22 17:10:13 -04:00
2023-10-22 17:10:12 -04:00
2023-12-06 00:21:30 -05:00
2023-11-05 13:12:18 -05:00
2023-12-13 13:09:36 -05:00
2023-10-22 17:10:15 -04:00
2023-11-14 23:44:44 -05:00
2023-10-31 12:18:37 -04:00
2023-12-08 00:39:56 -05: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-11-25 21:48:42 -05:00
2023-10-22 17:10:12 -04:00
2023-10-22 17:10:12 -04:00
2023-11-24 00:29:58 -05:00
2023-11-24 00:29:58 -05:00
2023-12-10 16:53:46 -05:00
2023-11-24 00:29:58 -05:00
2023-12-10 16:53:46 -05:00
2023-10-22 17:10:14 -04:00
2023-10-22 17:10:16 -04:00
2023-10-22 17:09:56 -04:00
2023-10-22 17:10:16 -04:00
2023-11-14 23:44:43 -05:00
2023-12-10 16:53:46 -05:00
2023-12-10 16:53:46 -05:00
2023-11-24 00:29:58 -05:00
2023-10-22 17:10:03 -04:00
2023-10-22 17:09:54 -04: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
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:10:02 -04:00
2023-10-22 17:09:43 -04:00
2023-10-22 17:10:02 -04:00
2023-10-22 17:10:13 -04:00
2023-10-31 12:18:38 -04:00
2023-11-28 22:58:23 -05:00
2023-11-24 02:10:28 -05:00
2023-11-28 22:58:23 -05:00
2023-10-22 17:09:55 -04:00
2023-10-22 17:09:52 -04:00
2023-10-22 17:10:15 -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-10-31 12:18:37 -04:00
2023-10-22 17:09:55 -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-04 22:19:11 -04:00
2023-11-01 21:11:05 -04:00
2023-11-01 21:11:05 -04:00
2023-12-10 12:23:07 -05:00
2023-12-17 23:05:43 -05:00
2023-12-04 16:04:55 -05:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:09:50 -04:00
2023-11-28 17:18:24 -05:00
2023-11-28 17:18:24 -05:00
2023-11-05 13:12:18 -05:00
2023-10-22 17:10:10 -04:00
2023-11-01 21:11:08 -04:00
2023-11-05 13:12:08 -05:00
2023-11-01 21:11:08 -04:00
2023-11-05 13:12:17 -05:00
2023-11-05 13:12:17 -05:00
2023-10-22 17:10:04 -04:00
2023-10-22 17:09:44 -04:00
2023-11-14 23:44:44 -05:00
2023-10-22 17:10:02 -04:00
2023-11-24 02:42:07 -05:00
2023-11-01 21:11:08 -04:00
2023-10-22 17:10:03 -04:00
2023-11-13 21:42:21 -05:00
2023-11-01 21:11:08 -04:00
2023-11-01 21:11:08 -04:00
2023-11-24 02:42:07 -05:00
2023-11-24 02:42:07 -05:00
2023-11-01 21:11:08 -04:00
2023-12-14 15:24:14 -05:00
2023-10-22 17:10:10 -04:00
2023-12-04 16:04:55 -05:00
2023-10-22 17:09:32 -04:00
2023-10-22 17:10:15 -04:00
2023-10-31 12:18:38 -04:00
2023-11-28 17:18:24 -05:00
2023-10-22 17:09:51 -04:00
2023-10-22 17:09:51 -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-16 16:57:19 -05:00
2023-11-01 21:11:08 -04:00