]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: do not double-write log entries 3878/head
authorSage Weil <sage@redhat.com>
Wed, 25 Mar 2015 17:34:45 +0000 (10:34 -0700)
committerSage Weil <sage@redhat.com>
Wed, 25 Mar 2015 17:34:45 +0000 (10:34 -0700)
commitedf64dd564f534457cc5096678f6f51123aa98b6
tree360c34e438dc4cb60cba9d7c8d9123b9c4695fb3
parent34c7d2c527714443553c8d66c9331ebd9a7ebac6
osd: do not double-write log entries

The pg_log.add() call already dirties the log such that the later
write_log() call will write it.  There is no need to encode it separately
here and then explicitly omap_setkeys() it.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PG.h