Al Viro
41edf278fc
dentry_kill(): don't try to remove from shrink list
...
If the victim in on the shrink list, don't remove it from there.
If shrink_dentry_list() manages to remove it from the list before
we are done - fine, we'll just free it as usual. If not - mark
it with new flag (DCACHE_MAY_FREE) and leave it there.
Eventually, shrink_dentry_list() will get to it, remove the sucker
from shrink list and call dentry_kill(dentry, 0). Which is where
we'll deal with freeing.
Since now dentry_kill(dentry, 0) may happen after or during
dentry_kill(dentry, 1), we need to recognize that (by seeing
DCACHE_DENTRY_KILLED already set), unlock everything
and either free the sucker (in case DCACHE_MAY_FREE has been
set) or leave it for ongoing dentry_kill(dentry, 1) to deal with.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk >
2014-05-01 10:30:00 -04:00
..
2014-04-07 16:35:53 -07:00
2014-04-07 16:36:08 -07:00
2014-04-07 16:36:08 -07:00
2014-04-03 16:21:01 -07:00
2014-04-08 16:48:51 -07:00
2014-04-04 15:39:39 -07:00
2014-04-07 16:36:08 -07:00
2014-04-12 14:49:50 -07:00
2014-04-12 14:49:50 -07:00
2014-04-12 15:39:53 -07:00
2014-04-13 14:10:26 -07:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-03-13 10:14:33 -04:00
2014-04-11 16:15:36 -04:00
2014-04-04 14:03:05 -07:00
2014-04-04 15:39:39 -07:00
2014-04-10 14:33:02 -07:00
2014-04-07 17:59:17 -07:00
2014-04-07 17:59:17 -07:00
2014-04-12 14:49:50 -07:00
2014-04-07 16:38:06 -07:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-04-12 14:49:50 -07:00
2014-04-07 16:35:53 -07:00
2014-04-04 15:39:39 -07:00
2014-04-04 15:39:39 -07:00
2014-04-03 16:21:01 -07:00
2014-04-04 15:39:39 -07:00
2014-04-03 16:20:59 -07:00
2014-04-07 17:59:17 -07:00
2014-03-12 16:38:03 -04:00
2014-04-07 10:17:30 -07:00
2014-04-04 15:39:39 -07:00
2014-04-03 16:22:16 -07:00
2014-03-28 10:43:08 -04:00
2014-04-03 16:21:01 -07:00
2014-04-04 15:39:39 -07:00
2014-04-12 17:31:22 -07:00
2014-04-07 16:35:53 -07:00
2014-04-08 18:28:14 -07:00
2014-04-07 16:35:53 -07:00
2014-04-03 16:20:51 -07:00
2014-04-12 14:49:50 -07:00
2014-04-12 17:31:22 -07:00
2014-04-03 16:21:01 -07:00
2014-03-13 10:14:33 -04:00
2014-04-12 14:49:50 -07:00
2014-04-04 15:39:39 -07:00
2014-03-13 10:14:33 -04:00
2014-03-13 10:14:33 -04:00
2014-04-07 17:59:17 -07:00
2014-04-07 17:59:17 -07:00
2014-03-13 10:14:33 -04:00
2014-03-13 10:14:33 -04:00
2014-03-25 20:54:57 -07:00
2014-04-04 15:39:39 -07:00
2014-04-07 16:35:53 -07:00
2014-04-12 14:49:50 -07:00
2014-04-07 16:36:16 -07:00
2014-04-12 14:49:50 -07:00
2014-03-28 10:14:45 -04:00
2014-03-27 09:52:54 -07:00
2014-04-07 16:35:52 -07:00
2014-04-03 16:21:16 -07:00
2014-04-09 08:00:06 -06:00
2014-04-12 14:49:50 -07:00
2014-04-12 14:49:50 -07:00
2014-04-12 14:49:50 -07:00
2014-04-04 14:21:20 -07:00
2014-05-01 10:30:00 -04:00
2014-04-04 15:50:08 -07:00
2014-04-03 16:21:04 -07:00
2014-04-12 14:49:50 -07:00
2014-03-31 08:24:43 -04:00
2014-04-12 14:49:50 -07:00
2014-04-12 14:49:50 -07:00
2014-04-03 16:21:05 -07:00
2014-04-04 14:49:16 -07:00
2014-04-04 15:39:39 -07:00
2014-03-31 08:24:43 -04:00
2014-03-18 19:24:49 -04:00
2014-04-01 23:19:09 -04:00
2014-04-19 12:30:58 -04:00
2014-04-01 23:19:18 -04:00
2014-04-12 14:49:50 -07:00
2014-04-01 23:19:22 -04:00
2014-04-01 23:19:08 -04:00
2014-04-01 23:19:08 -04:00
2014-04-04 14:49:16 -07:00
2014-04-01 23:19:09 -04:00
2014-03-31 14:32:17 -07:00
2014-04-01 23:19:23 -04:00
2014-03-13 10:14:33 -04:00