Project

General

Profile

Bug #5599 ยป ceph-disk-journal-probe.patch

Mark Kirkwood, 08/19/2013 06:09 PM

View differences:

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:
    (1-1/1)