5
0
mirror of git://git.proxmox.com/git/proxmox-fuse.git synced 2025-01-03 05:18:30 +03:00
Commit Graph

11 Commits

Author SHA1 Message Date
Wolfgang Bumiller
ae852297a8 impl AsFd for FuseFd
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-10-19 14:38:40 +02:00
Wolfgang Bumiller
76ec0a7c40 custom reactor for the fuse file descriptor
Since tokio does not provide EPOLLERR via the read end at
all and neither tokio nor mio provide a way to explicitly
wait for it, we have no way of knowing that the fuse file
system has been unmounted, so use a custom reactor thread
for it.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-13 15:08:41 +02:00
Wolfgang Bumiller
d986df511e clippy fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-06-13 14:24:29 +02:00
Wolfgang Bumiller
801c86528f fix warning
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-03-04 09:24:35 +01:00
Wolfgang Bumiller
821bb03a11 fix deprecated use of std::f64 modules
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-10-04 15:03:12 +02:00
Wolfgang Bumiller
a2933ee6e7 doc updates to make clippy happy
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-07-06 08:56:37 +02:00
Wolfgang Bumiller
21aff1b622 clippy fixes
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-07-06 08:56:28 +02:00
Fabian Grünbichler
cdf306f9d2 clippy fixes
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-05-07 10:57:08 +02:00
Fabian Grünbichler
2919ef4558 update to tokio 1.0
PollEvented is no more (it's an internal API now, since tokio no longer
wants to expose mio parts in its public API). Switch to AsyncFd, which
provides similar mechanisms for non-blocking raw FDs and allows us to
drop our own direct mio dependency as well.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2021-01-11 11:51:53 +01:00
Wolfgang Bumiller
afa5c57734 handle EOF and 'destroy' callbacks
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-05-26 12:49:59 +02:00
Wolfgang Bumiller
e49e2d94ce import
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-05-20 10:04:23 +02:00