I thought bio was supposed to be that. In what way does it not suffice?
Simply because of not having a suitable wrapper?
> For mtdblk, LVM1/LVM2 and probably swapper_space.
> With that we can remove the block IO stuff from kiovecs. And convert
> the other drivers to use get_user_pages() directly into an ad-hoc private
> page array. Those things would allow kiovecs/kiobufs to be retired.
As far as pressing generic_direct_IO into use for this purpose goes, why
not forget about that (crufty looking) layer and sit directly on top of
bio?
-- Daniel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/