]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
afs: Prepare for use of THPs
authorDavid Howells <dhowells@redhat.com>
Tue, 20 Oct 2020 08:33:45 +0000 (09:33 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 28 Jan 2021 10:57:12 +0000 (10:57 +0000)
commit6c725c73f4520b51189e7b65bc7bfbe68a1ccd4b
tree0dcae66f83d829d63011c46f7839afd922f23041
parent11fac960efa081f2b6b44ed41b0583ae493b068e
afs: Prepare for use of THPs

As a prelude to supporting transparent huge pages, use thp_size() and
similar rather than PAGE_SIZE/SHIFT.

Further, try and frame everything in terms of file positions and lengths
rather than page indices and numbers of pages.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/dir.c
fs/afs/file.c
fs/afs/internal.h
fs/afs/write.c