Displaying 9 results from an estimated 9 matches for "ihashsize".
Did you mean:
hashsize
2012 Aug 21
1
[PATCH] xfs: add a new api xfs_repair
...daemon/xfs.c
+++ b/daemon/xfs.c
@@ -536,3 +536,119 @@ error:
free (err);
return -1;
}
+
+int
+do_xfs_repair (const char *device,
+ int imgfile, int forcelogzero, int dangerous,
+ int nomodify, int noprefetch, int forcegeometry,
+ int64_t maxmem, int64_t ihashsize,
+ int64_t bhashsize, int64_t agstride,
+ const char *logdev, const char *rtdev)
+{
+ int r;
+ char *err = NULL;
+ const char *argv[MAX_ARGS];
+ char maxmem_s[64];
+ char ihashsize_s[70];
+ char bhashsize_s[70];
+ char agstride_s[74];
+ size_t i = 0;
+
+ ADD_ARG (...
2010 Apr 09
1
Performance problems with XFS on Centos 5.4
...during the second ls the
are two orders of magnitude faster.
Googling around I stumbled upon some messages similar like this
http://www.opensubscriber.com/message/linux-xfs at oss.sgi.com/1355060.html
which have in common
a) they're from around 2006
b) they suggest to increase a mount-option ihashsize. This mount
option is listed as deprecated in the current kernel-doc
So my question: does anyone have experience with that kind of
performance problem? Do you think it is a XFS problem or are there
some other tuning parameters in the kernel that could be modified for
instance via /proc?
The re...
2015 Jul 17
1
[PATCH] daemon: add a space after func/macro to fit code-style
...ntf(maxmem_s, sizeof maxmem_s, "%" PRIi64, maxmem);
+ snprintf (maxmem_s, sizeof maxmem_s, "%" PRIi64, maxmem);
ADD_ARG (argv, i, "-m");
ADD_ARG (argv, i, maxmem_s);
}
@@ -601,7 +601,7 @@ do_xfs_repair (const char *device,
reply_with_error ("ihashsize must be >= 0");
return -1;
}
- snprintf(ihashsize_s, sizeof ihashsize_s, "ihash=" "%" PRIi64, ihashsize);
+ snprintf (ihashsize_s, sizeof ihashsize_s, "ihash=" "%" PRIi64, ihashsize);
ADD_ARG (argv, i, "-o");
ADD_...
2010 Apr 13
2
XFS-filesystem corrupted by defragmentation Was: Performance problems with XFS on Centos 5.4
Before I'd try to defragment my whole filesystem (see attached mail
for whole story) I figured "Let's try it on some file".
So I did
> xfs_bmap /raid/Temp/someDiskimage.iso
[output shows 101 extents and 1 hole]
Then I defragmented the file
> xfs_fsr /raid/Temp/someDiskimage.iso
extents before:101 after:3 DONE
> xfs_bmap /raid/Temp/someDiskimage.iso
[output shows 3
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
...s with
name = "xfs_repair"; added = (1, 19, 36);
- style = RInt "status", [Dev_or_Path "device"], [OBool "forcelogzero"; OBool "nomodify"; OBool "noprefetch"; OBool "forcegeometry"; OInt64 "maxmem"; OInt64 "ihashsize"; OInt64 "bhashsize"; OInt64 "agstride"; OString "logdev"; OString "rtdev"];
+ style = RInt "status", [String (Dev_or_Path, "device")], [OBool "forcelogzero"; OBool "nomodify"; OBool "noprefetch"; OBoo...
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator.
Rich.
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in:
https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html
Rich.
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files.
Rich.
2015 May 26
6
[PATCH 0/6] Update the way that API versions are generated for the man page.
The existing mechanism was clunky, slow and used ~ 10 MB of
local disk.
Rich.