KIOBUFS ??

2001-01-10 Thread Andre Hedrick
LT, Will this maddness insure that the granularity of the request will be dependent to the k_dev_t? Specifically, can one make KIOBUFS do the sizing of buffer to match the ideal or specified size limits imposed by a given block device? Otherwise I will need to design an sub-request layer to

Re: KIOBUFS ??

2001-01-11 Thread Jens Axboe
On Wed, Jan 10 2001, Andre Hedrick wrote: > > LT, > > Will this maddness insure that the granularity of the request will be > dependent to the k_dev_t? Specifically, can one make KIOBUFS do the > sizing of buffer to match the ideal or specified size limits imposed by a &g

Kiobufs and userspace memory

2001-04-29 Thread Steffen Persvold
free(sglist); out_unmap: /* Unpin user memory */ unmap_kiobuf(iobuf); out: free_kiovec(1, &iobuf); } Is this use of kiobufs sensible to you ? If not, what should I really be doing in order to acheive zero copy DMA ? I also have a question regarding a DMA read to userspace memory :