dholland-t...@netbsd.org (David Holland) writes:

>This was all based on the experience of adding discard and adding the
>dispatching for it as a first-class [bc]devsw op rather than an ioctl:
>it was a pain because it ultimately required touching _every_ driver,
>not just the ones that needed to support it, but it was far less of a
>mess than plumbing it as an ioctl would have been.

And it was a questionable decision as you need the discard operations
to queue with other I/O operations.

Reply via email to