Files
scoutfs/kmod/src
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
..
2020-08-26 14:39:12 -07:00
2020-11-30 13:35:44 -08:00
2020-11-30 13:35:44 -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-14 13:42:22 -08:00
2021-01-20 17:01:08 -08:00
2018-04-04 09:15:27 -05: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-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
2016-02-05 14:12:14 -08:00
2020-11-30 13:35:44 -08:00
2020-11-30 13:35:44 -08:00
2020-11-30 13:35:44 -08:00
2019-08-20 15:52:13 -07:00
2020-11-30 13:35:44 -08:00
2020-11-30 13:35:44 -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
2019-08-20 15:52:13 -07:00
2021-01-20 17:01:08 -08: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-10-26 15:19:03 -07: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
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