Bug #5599 ยป ceph-disk-journal-probe.patch
src/ceph-disk | ||
---|---|---|
journal_dm_keypath=journal_dm_keypath,
|
||
)
|
||
if stat.S_ISBLK(jmode):
|
||
# try to make sure the kernel refreshes the table. note
|
||
# that if this gets ebusy, we are probably racing with
|
||
# udev because it already updated it.. ignore failure here.
|
||
LOG.debug('Calling partprobe on prepared device %s', args.journal)
|
||
subprocess.call(
|
||
args=[
|
||
'partprobe',
|
||
args.journal,
|
||
],
|
||
)
|
||
# prepare data
|
||
if stat.S_ISDIR(dmode):
|
||
if args.data_dev:
|