Re: [PATCH 10/11] ext2fs: improve {enable,disable}_caching

2014-05-12 Thread Samuel Thibault
Samuel Thibault, le Tue 13 May 2014 00:37:37 +0200, a écrit : > Justus Winter, le Mon 12 May 2014 12:05:48 +0200, a écrit : > > * ext2fs/pager.c (enable_caching, disable_caching): Iterate over the > > pager class instead of over both pager buckets. > > Mmm, did you check the actual implementation

Re: [PATCH 10/11] ext2fs: improve {enable,disable}_caching

2014-05-12 Thread Samuel Thibault
Justus Winter, le Mon 12 May 2014 12:05:48 +0200, a écrit : > * ext2fs/pager.c (enable_caching, disable_caching): Iterate over the > pager class instead of over both pager buckets. Mmm, did you check the actual implementation of ports_class_iterate? It seems that it just iterates over one bucket,

[PATCH 10/11] ext2fs: improve {enable,disable}_caching

2014-05-12 Thread Justus Winter
* ext2fs/pager.c (enable_caching, disable_caching): Iterate over the pager class instead of over both pager buckets. --- ext2fs/pager.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ext2fs/pager.c b/ext2fs/pager.c index 017efcc..6328f3b 100644 --- a/ext2fs/pager.c +++ b