mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
linux-try-to-reduce-invasiveness-of-flushdcachechildren-20020725
try to become less invasive about dcache child flushing
This commit is contained in:
parent
fc71eb6e25
commit
efbaa07c99
@ -495,6 +495,7 @@ restart:
|
|||||||
cur = head;
|
cur = head;
|
||||||
while ((cur = cur->next) != head) {
|
while ((cur = cur->next) != head) {
|
||||||
dentry = list_entry(cur, struct dentry, d_alias);
|
dentry = list_entry(cur, struct dentry, d_alias);
|
||||||
|
#ifdef notdef
|
||||||
if (DCOUNT(dentry)) {
|
if (DCOUNT(dentry)) {
|
||||||
this_parent = dentry;
|
this_parent = dentry;
|
||||||
repeat:
|
repeat:
|
||||||
@ -533,6 +534,7 @@ restart:
|
|||||||
goto resume;
|
goto resume;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!DCOUNT(dentry)) {
|
if (!DCOUNT(dentry)) {
|
||||||
AFS_GUNLOCK();
|
AFS_GUNLOCK();
|
||||||
|
Loading…
Reference in New Issue
Block a user