Skip to content
Snippets Groups Projects
Commit 7bc18a00 authored by John L. Hammond's avatar John L. Hammond
Browse files

LU-11069 llite: correct file position after appending writes

In ll_file_io_generic() use the position returned in the kiocb to set
the returned file position. This ensures that the file position is set
correctly after an appending write. Add sanity test_23d() to check
that calling lseek() for the current offset returns the correct value
in this situation.

Lustre-change: https://review.whamcloud.com/32641



Signed-off-by: default avatarJohn L. Hammond <john.hammond@intel.com>
Change-Id: Ic76ce49db6e87d5294e18546d5b75a12793aa99c
Reviewed-on: https://review.whamcloud.com/32661


Reviewed-by: default avatarJinshan Xiong <jinshan.xiong@gmail.com>
Tested-by: Jenkins
Reviewed-by: default avatarJohn L. Hammond <jhammond@whamcloud.com>
parent a8280402
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment