Sam Li
a3c41f06d5
file-posix: add tracking of the zone write pointers
...
Since Linux doesn't have a user API to issue zone append operations to
zoned devices from user space, the file-posix driver is modified to add
zone append emulation using regular writes. To do this, the file-posix
driver tracks the wp location of all zones of the device. It uses an
array of uint64_t. The most significant bit of each wp location indicates
if the zone type is conventional zones.
The zones wp can be changed due to the following operations issued:
- zone reset: change the wp to the start offset of that zone
- zone finish: change to the end location of that zone
- write to a zone
- zone append
Signed-off-by: Sam Li <faithilikerun@gmail.com>
Message-id: 20230508051510.177850-2-faithilikerun@gmail.com
[Fix errno propagation from handle_aiocb_zone_mgmt()
--Stefan]
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2023-05-15 08:17:55 -04:00
..
2023-05-03 14:00:08 -05:00
2023-04-25 15:11:57 +02:00
2022-09-30 18:42:34 +02:00
2021-10-05 18:56:41 +02:00
2023-05-10 14:16:54 +02:00
2023-02-24 15:09:39 +00:00
2023-04-25 13:17:28 +02:00
2023-02-01 16:52:32 +01:00
2023-02-23 19:49:33 +01:00
2023-02-23 19:49:33 +01:00
2023-05-10 14:16:54 +02:00
2023-05-15 08:17:03 -04:00
2023-02-23 19:49:14 +01:00
2022-12-15 16:07:43 +01:00
2022-10-26 14:56:42 -04:00
2023-02-23 19:49:17 +01:00
2023-01-20 07:24:28 +01:00
2023-02-24 15:09:39 +00:00
2023-02-23 19:49:21 +01:00
2022-03-04 18:18:25 +01:00
2023-04-11 16:38:56 +02:00
2022-05-11 16:50:01 +02:00
2023-05-10 14:16:53 +02:00
2023-02-23 19:49:23 +01:00
2023-05-10 14:16:54 +02:00
2020-11-15 17:04:40 +01:00
2023-02-17 14:33:52 +01:00
2023-02-23 19:49:32 +01:00
2019-06-12 13:20:20 +02:00
2023-03-30 15:03:36 +02:00
2023-04-24 13:53:44 -04:00
2023-04-24 13:53:44 -04:00
2023-05-15 08:17:55 -04:00
2023-04-25 13:17:28 +02:00
2023-04-11 16:38:56 +02:00
2023-02-01 16:52:32 +01:00
2023-05-10 14:16:54 +02:00
2023-04-25 13:17:28 +02:00
2023-05-15 08:17:03 -04:00
2021-07-09 18:20:27 +02:00
2023-02-23 19:49:20 +01:00
2023-04-25 13:17:28 +02:00
2023-05-10 18:48:11 +02:00
2023-05-10 14:16:54 +02:00
2023-05-10 14:16:53 +02:00
2023-04-12 18:26:51 +02:00
2023-02-01 16:52:32 +01:00
2023-02-01 16:52:32 +01:00
2023-01-20 07:24:28 +01:00
2023-05-10 14:16:53 +02:00
2021-03-08 14:56:55 +01:00
2023-04-11 16:38:56 +02:00
2023-01-19 10:18:28 +01:00
2023-01-20 07:24:28 +01:00
2023-05-10 14:16:54 +02:00
2023-04-25 13:17:28 +02:00
2023-01-20 07:24:28 +01:00
2023-04-25 13:17:28 +02:00
2023-05-10 14:16:53 +02:00
2023-04-25 13:17:28 +02:00
2023-04-25 13:17:28 +02:00
2023-05-10 14:16:53 +02:00
2023-05-10 14:16:53 +02:00
2023-05-10 14:16:53 +02:00
2023-02-23 19:49:12 +01:00
2017-07-17 11:34:11 +08:00
2022-03-07 13:16:49 +00:00
2023-02-23 19:49:17 +01:00
2023-05-10 14:16:53 +02:00
2023-02-23 19:49:17 +01:00
2023-05-10 14:16:54 +02:00
2023-05-15 08:17:03 -04:00
2023-02-23 19:49:35 +01:00
2023-04-11 16:38:56 +02:00
2022-03-07 09:33:30 +01:00
2023-02-23 19:49:21 +01:00
2022-10-27 20:14:11 +02:00
2023-02-01 16:52:32 +01:00
2023-02-24 15:09:39 +00:00
2021-02-03 08:14:00 -06:00
2023-02-23 19:49:33 +01:00
2023-05-15 08:17:03 -04:00
2020-08-21 06:18:24 -04:00
2023-05-10 14:16:53 +02:00
2019-06-12 13:20:20 +02:00
2023-04-11 13:53:03 +02:00
2023-05-10 14:16:53 +02:00
2019-04-30 15:29:00 +02:00
2023-05-10 14:16:54 +02:00
2023-05-10 14:16:53 +02:00
2023-04-25 13:17:28 +02:00
2023-01-20 07:24:28 +01:00
2023-01-20 07:24:28 +01:00