Re: [uml-devel] [PATCH v3] UBD Improvements Phase 1

2016-11-09 Thread Anton Ivanov
On 09/11/16 16:08, James McMechan wrote: > Hi > > I am not clear on the remainder/remainder_size would not a single offset > parameter work? rather than copying it off and back? Possible. The other alternative is to copy the remainder (if it exists) to the beginning of the buffer at the end o

Re: [uml-devel] [PATCH v3] UBD Improvements Phase 1

2016-11-09 Thread James McMechan
Hi I am not clear on the remainder/remainder_size would not a single offset parameter work? rather than copying it off and back? also max_recs does not seem to used except to calculate max buffer size so would not using a buffer size be easier? something like bulk_req_read( int fd, struct io_thr