Files
kernel/include/linux
Ilya Dryomov a86f009f10 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>
2018-06-04 20:46:00 +02:00
..
2018-03-29 14:29:55 -04:00
2018-04-20 17:18:35 -07:00
2018-04-11 10:28:37 -07:00
2018-03-31 02:15:18 +02:00
2018-03-31 02:16:26 +02:00
2018-03-31 02:15:18 +02:00
2018-04-26 09:02:01 -06:00
2018-04-11 10:28:35 -07:00
2018-04-11 10:28:38 -07:00
2018-04-12 09:41:19 -07:00
2018-04-11 10:28:32 -07:00
2018-03-30 12:56:22 -04:00
2018-04-11 10:28:39 -07:00
2018-05-11 17:28:45 -07:00
2018-05-11 17:28:45 -07:00
2018-04-05 21:36:24 -07:00
2018-04-05 21:36:27 -07:00