]> git.karo-electronics.de Git - linux-beck.git/commit
block_dev: don't update file access position for sync direct IO
authorShaohua Li <shli@fb.com>
Wed, 14 Dec 2016 03:07:55 +0000 (19:07 -0800)
committerJens Axboe <axboe@fb.com>
Wed, 14 Dec 2016 04:07:08 +0000 (21:07 -0700)
commit7a62a52333f8b5b82753d9529c11b3404bc5c183
treeb194e9735e3a8d5a60e5cc81c46613dc86fddcad
parentd2a61918401ea8db8a6f922e98e86a66b4930cec
block_dev: don't update file access position for sync direct IO

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.

Cc: Christoph Hellwig <hch@lst.de>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/block_dev.c