search for: bio_next_offset

Displaying 1 result from an estimated 1 matches for "bio_next_offset".

2010 Sep 02
3
[patch] O_DIRECT: fix the splitting up of contiguous I/O
....c > +++ b/fs/direct-io.c > @@ -632,7 +632,7 @@ static int dio_send_cur_page(struct dio *dio) > int ret = 0; > > if (dio->bio) { > - loff_t cur_offset = dio->block_in_file << dio->blkbits; > + loff_t cur_offset = dio->cur_page_fs_offset; > loff_t bio_next_offset = dio->logical_offset_in_bio + > dio->bio->bi_size; > > @@ -657,7 +657,7 @@ static int dio_send_cur_page(struct dio *dio) > * Submit now if the underlying fs is about to perform a > * metadata read > */ > - if (dio->boundary) > + else if (dio-...