osd/osd_internal_types: wake snaptrimmer on put_read lock, too
The snaptrimmer can block taking a write lock, which might happen due to
a conficting EC read. When the EC read completes, we need to wake up the
snaptrimmer.
Fixes: http://tracker.ceph.com/issues/19131
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit
993179870ef7eece47cb9ccfb7275c29bf8536eb)
Conflicts:
src/osd/osd_internal_types.h: ObjectContext::put_lock_type() is
defined in src/osd/osd_types.h in Jewel, patch that file