commit | 9dd2845ccb40452d4ac943231ea34aade4a02c68 | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Thu Apr 28 16:07:26 2016 +0200 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu May 26 01:12:30 2016 +0200 |
tree | d7c5be5f87c642b45a92eec573a657207b27b899 | |
parent | 7a28f59bf9fb220cdf56ac6ab539fc4a0ae59414 [diff] |
libceph: protect osdc->osd_lru list with a spinlock OSD client is getting moved from the big per-client lock to a set of per-session locks. The big rwlock would only be held for read most of the time, so a global osdc->osd_lru needs additional protection. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>