]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: do not reuse partition if encryption required 3424/head
authorLoic Dachary <ldachary@redhat.com>
Tue, 20 Jan 2015 17:53:52 +0000 (18:53 +0100)
committerLoic Dachary <ldachary@redhat.com>
Tue, 20 Jan 2015 18:07:29 +0000 (19:07 +0100)
commit68af510914bdba1786b7d02bc6e8bc635d6647fd
tree71aaeda331453ca5a70ef885c32176526164183d
parent0ab0ce7e2d451b71982d3b5ed12a64692580710a
ceph-disk: do not reuse partition if encryption required

If encryption is required, an existing journal partition must not be
reused. If an existing partition that was not prepared with ceph-disk is
found and reused, the caller will assume it is encrypted although it is
not.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/ceph-disk