Andy Grover
355eac79d2
Retry if transaction cannot alloc for fallocate or write
...
Add a new distinguishable return value (ENOBUFS) from allocator for if
the transaction cannot alloc space. This doesn't mean the filesystem is
full -- opening a new transaction may result in forward progress.
Alter fallocate and get_blocks code to check for this err val and retry
with a new transaction. Handling actual ENOSPC can still happen, of
course.
Add counter called "alloc_trans_retry" and increment it from both spots.
Signed-off-by: Andy Grover <agrover@versity.com >
[zab@versity.com: fixed up write_begin error paths]
2021-01-25 09:32:01 -08:00
..
2021-01-25 09:32:01 -08:00
2021-01-06 09:25:32 -08:00
2020-10-29 14:15:33 -07:00
2020-08-26 14:39:12 -07:00
2020-11-30 13:35:44 -08:00
2020-11-19 11:41:20 -08:00
2020-11-30 13:35:44 -08:00
2020-10-26 15:19:03 -07:00
2021-01-15 10:53:00 -08:00
2020-10-26 15:19:03 -07:00
2018-04-04 09:15:27 -05:00
2017-12-20 12:21:13 -08:00
2021-01-25 09:32:01 -08:00
2021-01-25 09:32:01 -08:00
2021-01-14 13:42:22 -08:00
2021-01-20 17:01:08 -08:00
2018-04-04 09:15:27 -05:00
2017-11-21 13:11:43 -08:00
2018-04-04 09:15:27 -05:00
2018-01-26 11:59:47 -08:00
2020-10-26 15:19:03 -07:00
2020-10-26 15:19:03 -07:00
2020-01-17 11:21:36 -08:00
2017-08-30 10:38:00 -07:00
2020-10-30 11:14:10 -07:00
2020-10-30 11:14:10 -07:00
2021-01-15 10:53:00 -08:00
2020-10-29 14:15:33 -07:00
2021-01-20 17:01:08 -08:00
2021-01-20 17:01:08 -08:00
2021-01-20 17:01:08 -08:00
2021-01-14 13:42:22 -08:00
2021-01-20 09:02:29 -08:00
2020-12-02 09:25:13 -08:00
2016-02-05 14:12:14 -08:00
2020-04-21 16:28:06 -07:00
2020-10-29 14:15:33 -07:00
2020-11-30 13:35:44 -08:00
2020-10-30 11:14:10 -07:00
2020-11-30 13:35:44 -08:00
2020-11-30 13:35:44 -08:00
2021-01-15 10:53:00 -08:00
2020-01-15 14:57:57 -08:00
2019-08-20 15:52:13 -07:00
2019-04-12 10:54:07 -07:00
2020-11-30 13:35:44 -08:00
2020-11-30 13:35:44 -08:00
2020-11-19 11:41:20 -08:00
2020-11-30 13:35:44 -08:00
2019-05-21 11:33:26 -07:00
2019-05-21 11:33:26 -07:00
2020-11-19 11:41:20 -08:00
2019-08-20 15:52:13 -07:00
2017-04-18 13:44:55 -07:00
2021-01-20 17:01:08 -08:00
2021-01-15 10:53:00 -08:00
2020-08-26 14:39:12 -07:00
2020-10-29 14:15:33 -07:00
2020-10-29 14:15:33 -07:00
2020-11-30 13:35:44 -08:00
2019-04-12 10:54:07 -07:00
2020-12-03 09:58:35 -08:00
2020-10-26 15:19:03 -07:00
2021-01-15 10:53:00 -08:00
2020-11-24 14:02:02 -08:00
2019-08-20 15:52:13 -07:00
2019-06-05 14:30:11 -07:00
2021-01-20 17:01:08 -08:00
2021-01-20 17:01:08 -08:00
2018-04-13 08:59:03 -07:00
2020-11-30 13:35:44 -08:00
2018-07-27 09:50:21 -07:00
2018-07-27 09:50:21 -07:00
2021-01-14 13:42:22 -08:00
2021-01-20 17:01:08 -08:00
2020-12-03 09:58:35 -08:00