]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: switch netfs read ops to use rreq->inode instead of rreq->mapping->host
authorJeff Layton <jlayton@kernel.org>
Mon, 17 Jan 2022 19:32:12 +0000 (14:32 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 1 Mar 2022 17:26:36 +0000 (18:26 +0100)
commite048ebbcde24cb6e6f45e95a508de97329fb4786
tree5f5db3f5a6756d9b8dba97c078c064a55e66c9fa
parent4383e231a606264090663083910f20a31927ae1d
ceph: switch netfs read ops to use rreq->inode instead of rreq->mapping->host

One fewer pointer dereference, and in the future we may not be able to
count on the mapping pointer being populated (e.g. in the DIO case).

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/addr.c