]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Fix for bug #6700
authorSteve Taylor <steve@DES-U1404-STETAY.stc.local>
Tue, 10 Jun 2014 18:42:55 +0000 (12:42 -0600)
committerAlfredo Deza <alfredo.deza@inktank.com>
Fri, 13 Jun 2014 16:14:48 +0000 (12:14 -0400)
commite5a291ef69316519b105b57193753f0bf8ac8e62
treee455fd988de177bad8029ebfe6fc72f01b14522b
parent34d9b2bc659c4107b30e1ebe7a55315512a0222a
Fix for bug #6700

When preparing OSD disks with colocated journals, the intialization process
fails when using dmcrypt. The kernel fails to re-read the partition table after
the storage partition is created because the journal partition is already in use
by dmcrypt. This fix unmaps the journal partition from dmcrypt and allows the
partition table to be read.

Signed-off-by: Stephen F Taylor <steveftaylor@gmail.com>
(cherry picked from commit 673394702b725ff3f26d13b54d909208daa56d89)
src/ceph-disk