]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: clean up info setattrs, such that write_info is called once per map update
authorSage Weil <sage@newdream.net>
Sat, 22 Nov 2008 05:49:11 +0000 (21:49 -0800)
committerSage Weil <sage@newdream.net>
Sat, 22 Nov 2008 05:49:11 +0000 (21:49 -0800)
commitd7f30a511102732ba4dde38fe5f5038595d020b5
treeb7cfc7ad458814986a1389c7e63b749b370dc813
parent829b7b7b2b503dde4d4083d24a149cbaaf58f141
osd: clean up info setattrs, such that write_info is called once per map update

Use pg dirty flags, and do the final write_info and/or write_log right
before we apply the advance/activate_map transaction.

PG.cc still calls the methods directly in methods that are not in the
advance/activate paths.
src/os/JournalingObjectStore.h
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PG.h