]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
bluestore: Support flock retry
authorwanghongxu <x.ken@outlook.com>
Wed, 15 Apr 2020 11:52:40 +0000 (19:52 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2020 08:34:29 +0000 (09:34 +0100)
commit17fae9374af5147611f9783f3976a0b0beed8fdc
tree61fa57c87183999c9ef6a41f73b135d72b38d58d
parenta2010cbc82ce53c909c3d230726d633f552e43a1
bluestore: Support flock retry

When the block changes, systemd-udevd will open the block,
read some information and close it. Then a failure occurs here.
So we need to try again here.

Fixes: https://tracker.ceph.com/issues/46124
Signed-off-by: wanghongxu <x.ken@outlook.com>
(cherry picked from commit 23f8c323d2ba9133c3ef5834ae93115425c862d1)

Conflicts:
src/blk/kernel/KernelDevice.cc
- file does not exist in Nautilus; made the changes manually in
  src/os/bluestore/KernelDevice.cc
src/common/legacy_config_opts.h
src/common/options.cc
src/os/bluestore/KernelDevice.cc