Yan, Zheng
fdd4e15838
ceph: rework dcache readdir
...
Previously our dcache readdir code relies on that child dentries in
directory dentry's d_subdir list are sorted by dentry's offset in
descending order. When adding dentries to the dcache, if a dentry
already exists, our readdir code moves it to head of directory
dentry's d_subdir list. This design relies on dcache internals.
Al Viro suggests using ncpfs's approach: keeping array of pointers
to dentries in page cache of directory inode. the validity of those
pointers are presented by directory inode's complete and ordered
flags. When a dentry gets pruned, we clear directory inode's complete
flag in the d_prune() callback. Before moving a dentry to other
directory, we clear the ordered flag for both old and new directory.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-06-25 11:49:32 +03:00
..
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-05-23 11:14:10 -07:00
2015-04-15 15:06:59 -04:00
2015-06-25 11:49:32 +03:00
2015-05-20 13:25:55 -05:00
2015-04-15 15:06:57 -04:00
2015-05-05 17:10:11 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-05-06 10:57:37 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-02-22 11:38:41 -05:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-05-15 00:24:10 -04:00
2015-05-04 14:15:16 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-05-04 14:50:29 +02:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-05-14 19:11:50 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-05-14 17:55:51 -07:00
2015-04-21 16:16:02 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-04-15 15:06:57 -04:00
2015-05-13 14:56:06 -04:00
2015-05-04 12:02:42 -04:00
2015-05-05 17:10:11 -07:00
2015-03-12 18:46:08 -07:00
2015-04-15 15:06:57 -04:00
2015-05-05 17:10:11 -07:00
2015-05-28 18:25:19 -07:00
2015-05-19 14:30:12 +02:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-11 22:29:40 -04:00
2015-04-15 15:06:57 -04:00
2015-03-25 13:27:57 +01:00
2015-04-15 15:06:57 -04:00
2015-04-26 17:22:07 -07:00
2015-04-26 17:22:07 -07:00
2015-04-15 15:06:57 -04:00
2015-05-29 08:14:55 +10:00
2015-04-16 23:27:56 -04:00
2015-02-20 04:03:58 -05:00
2015-05-28 18:25:18 -07:00
2015-04-26 17:22:07 -07:00
2015-04-24 15:45:28 -04:00
2015-04-14 16:49:01 -07:00
2015-04-03 23:21:34 +02:00
2015-04-11 22:29:39 -04:00
2015-04-26 17:22:07 -07:00
2015-05-28 23:45:30 -04:00
2015-04-24 15:45:28 -04:00
2015-02-17 14:34:52 -08:00
2015-05-12 22:03:44 +02:00
2015-06-02 10:29:07 -07:00
2015-04-11 22:29:43 -04:00
2015-04-17 09:04:07 -04:00
2015-04-09 11:39:55 -05:00
2015-03-17 12:23:32 -04:00
2015-04-24 15:45:28 -04:00
2015-02-22 11:38:42 -05:00
2015-04-10 15:08:35 -07:00
2015-04-14 16:49:05 -07:00
2015-04-15 15:06:58 -04:00
2015-04-17 09:04:12 -04:00
2015-04-14 10:22:29 -07:00
2015-05-09 00:12:48 -04:00
2015-05-09 11:55:50 -05:00
2015-04-15 15:06:58 -04:00
2015-04-24 07:08:41 -07:00
2015-04-15 15:06:58 -04:00
2015-04-02 20:34:20 -05:00
2015-04-09 11:39:55 -05:00
2015-04-15 15:06:59 -04:00
2015-04-11 22:29:46 -04:00
2015-05-06 09:27:41 -06:00
2015-04-15 15:06:59 -04:00
2015-04-14 16:49:03 -07:00