Messages in this thread | | | From | Daniel Phillips <> | Subject | Re: Calculating kernel logical address .. | Date | Mon, 9 Sep 2002 22:41:30 +0200 |
| |
On Monday 09 September 2002 21:40, Andrew Morton wrote: > We need a general-purpose "read or write these pages to this blockdev" > library function.
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/
| |