Re: [Cluster-devel] [gfs2-utils PATCH] fsck.gfs2: time each of the passes

2014-07-11 Thread Steven Whitehouse
Hi, On 10/07/14 17:53, Bob Peterson wrote: Hi, This patch reports how much time was taken in each pass. Regards, Bob Peterson Red Hat File Systems Signed-off-by: Bob Peterson rpete...@redhat.com --- gfs2/fsck/main.c | 19 ++- 1 file changed, 18 insertions(+), 1

Re: [Cluster-devel] [gfs2-utils PATCH] fsck.gfs2: File read-ahead

2014-07-11 Thread Steven Whitehouse
Hi, On 10/07/14 17:54, Bob Peterson wrote: Hi, This patch introduces file read-ahead to pass1. Why not the other passes too? Is that just because they are not checking all the indirect data? Steve. Regards, Bob Peterson Red Hat File Systems Signed-off-by: Bob Peterson

Re: [Cluster-devel] [gfs2-utils PATCH] fsck.gfs2: time each of the passes

2014-07-11 Thread Bob Peterson
- Original Message - Hi, On 11/07/14 18:41, Bob Peterson wrote: - Original Message - (snip) Use timersub() here perhaps? Otherwise looks good, Steve. Hi Steve, Thanks for the suggestion. How about this version? Yes, that looks better. There is probably a