]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/bluefs: Reorganize BlueFS state variables
authorAdam Kupczyk <akupczyk@redhat.com>
Tue, 22 Jun 2021 11:15:21 +0000 (13:15 +0200)
committerAdam Kupczyk <akupczyk@redhat.com>
Thu, 23 Dec 2021 14:39:10 +0000 (15:39 +0100)
commitb661fa2fbcda1b7793f6bdd04cd5336613f82d55
tree5ea4bbf946bb9bb72f2eef694252105944f19372
parente74474d1fd29164555e1ffab79bde991f621130d
os/bluestore/bluefs: Reorganize BlueFS state variables

Reorganize BlueFS state variables into separate domains: 1) log, 2) dirty, 3) nodes.
Each has separate lock. This change is intended to make it easier to control which locks
need to be held when specific elements are modified.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueFS.h