]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: move object create before set alloc hint
authorOr Ozeri <oro@il.ibm.com>
Sun, 10 Jan 2021 15:55:29 +0000 (17:55 +0200)
committerOr Ozeri <oro@il.ibm.com>
Sun, 10 Jan 2021 15:55:29 +0000 (17:55 +0200)
commit285ba2ac86252790a3d0b5248851dcaad7856849
tree68a1d7d9a08eeb914a99d28fc4bf79f85afcb92a
parent2ab05ea0458932cf31aaf5d552d9f9187842c454
librbd: move object create before set alloc hint

This commit fixes the order of ops in write requests to have create before set alloc hint, so that exclusive create will not falsely fail

Signed-off-by: Or Ozeri <oro@il.ibm.com>
src/librbd/io/ObjectRequest.cc
src/librbd/io/ObjectRequest.h