diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-12-21 09:53:25 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-12-21 09:53:25 -0800 |
commit | 937fd403380023d065fd0509caa7eff639b144a0 (patch) | |
tree | b4990856f03338b24e37d37d170b930b482165f8 /net/core/page_pool.c | |
parent | 13b734465a9d1cd09551d52eb5faf5fe55e6a9ea (diff) | |
parent | 39299bdd2546688d92ed9db4948f6219ca1b9542 (diff) | |
download | lwn-937fd403380023d065fd0509caa7eff639b144a0.tar.gz lwn-937fd403380023d065fd0509caa7eff639b144a0.zip |
Merge tag 'afs-fixes-20231221' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
Pull AFS fixes from David Howells:
"Improve the interaction of arbitrary lookups in the AFS dynamic root
that hit DNS lookup failures [1] where kafs behaves differently from
openafs and causes some applications to fail that aren't expecting
that. Further, negative DNS results aren't getting removed and are
causing failures to persist.
- Always delete unused (particularly negative) dentries as soon as
possible so that they don't prevent future lookups from retrying.
- Fix the handling of new-style negative DNS lookups in ->lookup() to
make them return ENOENT so that userspace doesn't get confused when
stat succeeds but the following open on the looked up file then
fails.
- Fix key handling so that DNS lookup results are reclaimed almost as
soon as they expire rather than sitting round either forever or for
an additional 5 mins beyond a set expiry time returning
EKEYEXPIRED. They persist for 1s as /bin/ls will do a second stat
call if the first fails"
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216637 [1]
Reviewed-by: Jeffrey Altman <jaltman@auristor.com>
* tag 'afs-fixes-20231221' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry
afs: Fix dynamic root lookup DNS check
afs: Fix the dynamic root's d_delete to always delete unused dentries
Diffstat (limited to 'net/core/page_pool.c')
0 files changed, 0 insertions, 0 deletions