DELETE support in the VOP_STRATEGY(9)?

Eitan Adler lists at eitanadler.com
Sun Dec 6 03:17:23 UTC 2015


+ correct mailing list
- non-technical list

On 4 December 2015 at 21:38, Maxim Sobolev <sobomax at freebsd.org> wrote:
> Hi folks, do we support delete operation in the vnode layer? This comes from
> observation that md(4) converts from DELETE into sector-size zero buffer
> write before it feeds it to the vnode. It's shame that a trim operation is
> getting lost when you run md(4)+ufs atop a vnode. With the magnetic spinning
> storage joining home particle accelerators, aka CRTs in the hall of fame
> soon, we better make sure it's turtles all the way down in either direction.
> By which I mean make sure that trim can not only propagate from VFS to BIO
> but also the other way around . I believe having this would also allow
> "punch-hole" API in the userland to be implemented trivially, syscall that
> VM's out there would love to have.
>
> -Max



-- 
Eitan Adler


More information about the freebsd-hackers mailing list