Re: [PATCH] block_dev: don't update file access position for sync direct IO

From: Jens Axboe
Date: Tue Dec 13 2016 - 23:08:52 EST


On 12/13/2016 08:07 PM, Shaohua Li wrote:
> For sync direct IO, generic_file_direct_write/generic_file_read_iter
> will update file access position. Don't duplicate the update in
> .direct_IO. This cause my raid array can't assemble.

That's not great... Thanks, added.

--
Jens Axboe