John Baldwin
8794846a91
bhyve: Add support for handling disk resize events to block_if.
...
Allow clients of blockif to register a resize callback handler. When
a callback is registered, register an EVFILT_VNODE kevent watching the
backing store for a change in the file's attributes. If the size has
changed when the kevent fires, invoke the clients' callback.
Currently resize detection is limited to backing stores that support
EVFILT_VNODE kevents such as regular files.
Reviewed by: grehan, markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D30504
2021-06-11 18:00:24 -07:00
..
2020-04-15 02:00:17 +00:00
2020-04-15 02:00:17 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-01-08 22:55:22 +00:00
2019-06-25 06:24:56 +00:00
2021-06-08 19:05:09 +10:00
2021-06-08 19:05:09 +10:00
2021-05-21 11:23:06 -08:00
2021-03-18 16:30:26 -07:00
2021-06-11 18:00:24 -07:00
2021-06-11 18:00:24 -07:00
2020-04-15 01:58:51 +00:00
2020-04-15 01:58:51 +00:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-04-21 12:40:44 +02:00
2021-04-21 12:40:44 +02:00
2020-01-08 22:55:22 +00:00
2018-12-04 18:28:25 +00:00
2021-05-03 13:24:30 -04:00
2019-12-13 19:21:58 +00:00
2021-03-18 16:30:26 -07:00
2019-06-25 06:24:56 +00:00
2019-06-25 06:24:56 +00:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2020-02-20 21:07:23 +00:00
2020-02-20 21:07:23 +00:00
2020-05-15 15:54:22 +00:00
2020-05-15 15:54:22 +00:00
2021-06-08 19:05:09 +10:00
2020-05-05 00:02:04 +00:00
2019-12-11 17:37:37 +00:00
2019-05-24 00:34:13 +00:00
2019-05-24 00:34:13 +00:00
2021-03-18 16:30:26 -07:00
2021-06-11 18:00:24 -07:00
2021-06-11 18:00:24 -07:00
2020-01-08 22:55:22 +00:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-19 11:04:36 +08:00
2021-03-19 11:04:36 +08:00
2021-03-19 11:04:36 +08:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-24 09:29:15 -07:00
2021-03-18 16:30:26 -07:00
2018-08-22 20:23:08 +00:00
2021-03-18 16:30:26 -07:00
2021-03-19 11:04:36 +08:00
2021-03-18 16:30:26 -07:00
2021-04-08 18:44:58 +04:00
2021-03-30 16:44:07 +08:00
2021-03-30 16:44:07 +08:00
2021-06-08 19:05:09 +10:00
2021-03-30 16:44:07 +08:00
2021-03-30 16:44:07 +08:00
2021-04-22 12:06:08 -04:00
2021-04-03 14:32:54 +10:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2020-07-06 08:36:14 +00:00
2021-04-21 12:40:44 +02:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2020-05-05 00:02:04 +00:00
2021-04-21 12:40:44 +02:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-04-12 08:09:52 -07:00
2021-05-21 11:23:06 -08:00
2021-05-21 11:23:06 -08:00
2020-01-08 22:55:22 +00:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-03-18 16:30:26 -07:00
2021-06-08 19:05:09 +10:00
2021-06-08 19:05:09 +10:00
2020-04-15 05:55:14 +00:00
2020-04-15 05:55:14 +00:00
2021-04-15 13:49:19 +10:00