]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: allow greedy get_write() for ObjectContext locks
authorSage Weil <sage@redhat.com>
Tue, 22 Jul 2014 20:11:42 +0000 (13:11 -0700)
committerSage Weil <sage@redhat.com>
Wed, 23 Jul 2014 01:00:09 +0000 (18:00 -0700)
commit09626501d7a0ff964027fd7a534465b76bad23cb
treee272f8abce12285de01f24db5cd571b90e3fd3c8
parent1518fa20921a32f7b20aa862c889e45f3e8b2c6f
osd: allow greedy get_write() for ObjectContext locks

There are several lockers that need to take a write lock
because there is an operation that is already in progress and
know it is safe to do so.  In particular, they need to skip
the starvation checks (op waiters, backfill waiting).

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