REMOVE doesn't work properly in the face of hard links. Use UNLINKAT
instead, which is implemented by qemu and bhyve and lets the client
specify the name being removed.
PR: 282432
Differential D47438
p9fs: Use UNLINKAT instead of REMOVE to implement removals markj on Mon, Nov 4, 5:26 PM. Authored by Tags None Referenced Files
Subscribers
Details REMOVE doesn't work properly in the face of hard links. Use UNLINKAT PR: 282432 Just manual testing in bhyve. It's a bit tricky to write regression tests without having a socket-based transport, since that'd make it easy to implement a simple server using contrib/lib9p...
Diff Detail
Event TimelineComment Actions LGTM - thanks for working on this. I think lib9p can support a socket-based transport which allows for testing lib9p itself. In the kernel there is an attempt at an abstraction layer but I think that its only ever been used with virtio, |