Hi, Here is the patch to pass size of the remaining IO to batch_write() interface. I would like to use it ext3/ext4 to allocate in chunks. Currently its passing only the size of the current buffer (in the vector entry). Comments ? Flames ? Looks reasonable ? Thanks, Badari