commit | 25e6bae356502cde283f1804111b44e6fad20fc2 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Tue Sep 16 19:15:28 2014 +0800 |
committer | Sage Weil <sage@redhat.com> | Tue Oct 14 12:56:49 2014 -0700 |
tree | 8825e784ff921f4dd27e42b321c1a26cf26b9632 | |
parent | e4339d28f640a7c0d92903bcf389a2dfa281270d [diff] |
ceph: use pagelist to present MDS request data Current code uses page array to present MDS request data. Pages in the array are allocated/freed by caller of ceph_mdsc_do_request(). If request is interrupted, the pages can be freed while they are still being used by the request message. The fix is use pagelist to present MDS request data. Pagelist is reference counted. Signed-off-by: Yan, Zheng <zyan@redhat.com> Reviewed-by: Sage Weil <sage@redhat.com>