]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
blk/kernel: use sleep_for()
authorKefu Chai <kchai@redhat.com>
Tue, 15 Sep 2020 07:01:55 +0000 (15:01 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2020 10:26:17 +0000 (11:26 +0100)
commit21fe507e70dc4b7caa8ea36f53b246ae36dc71e0
treebe3bc87c7bd8ab7cf24e871d5c0a82d584790cfc
parent17fae9374af5147611f9783f3976a0b0beed8fdc
blk/kernel: use sleep_for()

instead of relying on utime_t, use standard library directly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit bcb197d5d8cab33c3598d3a3043dfae8235a13bc)

Conflicts:
src/blk/kernel/KernelDevice.cc
- file does not exist in nautilus; changes applied without conflicts to
  os/bluestore/KernelDevice.cc
src/os/bluestore/KernelDevice.cc