]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: do not move f->pos untill success write 25109/head
authorTang Junhui <tangjunhui@sangfor.com>
Thu, 15 Nov 2018 07:07:24 +0000 (15:07 +0800)
committerJunhui Tang <tangjunhui@sangfor.com.cn>
Sun, 9 Dec 2018 02:09:37 +0000 (10:09 +0800)
commit0fdfc0c5bcda7bd64511365011163f8c74e18d9b
treedac56efd64cbdb05485982472c5c4160ceb71600
parent578f7e082e98431dd4da732f9eeff59a971262ec
client: do not move f->pos untill success write

writes maybe failed in Client::_write, so do not move f->pos when write
successfully.

Signed-off-by: Junhui Tang <tangjunhui@sangfor.com.cn>
Fixes: https://tracker.ceph.com/issues/37546
src/client/Client.cc