diff options
author | David Howells <dhowells@redhat.com> | 2020-10-26 13:22:47 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-10-29 13:53:04 +0000 |
commit | 185f0c7073bd5c78f86265f703f5daf1306ab5a7 (patch) | |
tree | 01355ebab583d813e1a38823473626d0eb9aa046 /.gitignore | |
parent | f792e3ac82fe2c6c863e93187eb7ddfccab68fa7 (diff) |
afs: Wrap page->private manipulations in inline functions
The afs filesystem uses page->private to store the dirty range within a
page such that in the event of a conflicting 3rd-party write to the server,
we write back just the bits that got changed locally.
However, there are a couple of problems with this:
(1) I need a bit to note if the page might be mapped so that partial
invalidation doesn't shrink the range.
(2) There aren't necessarily sufficient bits to store the entire range of
data altered (say it's a 32-bit system with 64KiB pages or transparent
huge pages are in use).
So wrap the accesses in inline functions so that future commits can change
how this works.
Also move them out of the tracing header into the in-directory header.
There's not really any need for them to be in the tracing header.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions