mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
DEVEL15-linux-nfs-translator-dont-lose-nfs-pag-on-write-20071204
LICENSE IPL10 avoid issue where nfs writes through the translator could become unpag'd because a background daemon came into play (cherry picked from commit ebbd12f3ab83eafa0d8cd6978a45a4cc0b248334)
This commit is contained in:
parent
8a5c62c645
commit
227fae158b
@ -905,7 +905,7 @@ afs_close(OSI_VC_ARG(avc), aflags, acred)
|
||||
}
|
||||
#endif /* AFS_SGI_ENV */
|
||||
if (aflags & (FWRITE | FTRUNC)) {
|
||||
if (afs_BBusy()) {
|
||||
if (afs_BBusy() || (AFS_NFSXLATORREQ(acred))) {
|
||||
/* do it yourself if daemons are all busy */
|
||||
ObtainWriteLock(&avc->lock, 124);
|
||||
code = afs_StoreOnLastReference(avc, &treq);
|
||||
|
Loading…
x
Reference in New Issue
Block a user