]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueFS: log dirty files at sync time 11108/head
authorSage Weil <sage@redhat.com>
Fri, 16 Sep 2016 21:45:51 +0000 (17:45 -0400)
committerSage Weil <sage@redhat.com>
Fri, 16 Sep 2016 21:45:51 +0000 (17:45 -0400)
commit6e58ed9031fac31abb040cbb46a84a632ad80c90
tree281c8eda936dd2120baa50e0d178df5a0fc341fb
parentfb13a8ea52fc5f06664efcdd57fd7e79be25bac8
os/bluestore/BlueFS: log dirty files at sync time

Instead of logging an updated fnode every time we dirty
the metadata, log it only once, right before we flush.
This greatly reduces the amount of metadata we have to
write.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueFS.cc