diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2018-05-23 14:46:53 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-06-04 20:46:00 +0200 |
commit | a86f009f106cba322c608785e09c8b5be8ffe8bb (patch) | |
tree | 1e5ce868d254c9b1ce38c30833e17715bfcdb460 /drivers/bus | |
parent | c843d13caefad9f2f182f38d6bfe492c9f00e086 (diff) | |
download | linux-a86f009f106cba322c608785e09c8b5be8ffe8bb.tar.bz2 |
libceph: allocate the locator string with GFP_NOFAIL
calc_target() isn't supposed to fail with anything but POOL_DNE, in
which case we report that the pool doesn't exist and fail the request
with -ENOENT. Doing this for -ENOMEM is at the very least confusing
and also harmful -- as the preceding requests complete, a short-lived
locator string allocation is likely to succeed after a wait.
(We used to call ceph_object_locator_to_pg() for a pi lookup. In
theory that could fail with -ENOENT, hence the "ret != -ENOENT" warning
being removed.)
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions