aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-10-26 13:22:47 +0000
committerDavid Howells <dhowells@redhat.com>2020-10-29 13:53:04 +0000
commit185f0c7073bd5c78f86265f703f5daf1306ab5a7 (patch)
tree01355ebab583d813e1a38823473626d0eb9aa046 /.gitignore
parentafs: Fix where page->private is set during write (diff)
downloadlinux-dev-185f0c7073bd5c78f86265f703f5daf1306ab5a7.tar.xz
linux-dev-185f0c7073bd5c78f86265f703f5daf1306ab5a7.zip
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