--- src/store_dir.c.orig 2008-11-20 20:34:13.000000000 +0300
+++ src/store_dir.c 2008-11-20 20:33:22.000000000 +0300
storeDirGetBlkSize(const char *path, int *blksize)
{
#if HAVE_STATVFS
+ /*
struct statvfs sfs;
if (statvfs(path, &sfs)) {
debug(50, 1) ("%s: %s\n", path, xstrerror());
@@ -525,7 +526,10 @@
return 1;
}
*blksize = (int) sfs.f_frsize;
+ */
+ *blksize = 4096;
#else
+ /*
struct statfs sfs;
if (statfs(path, &sfs)) {
debug(50, 1) ("%s: %s\n", path, xstrerror());
@@ -533,6 +537,8 @@
return 1;
}
*blksize = (int) sfs.f_bsize;
+ */
+ *blksize = 4096;
#endif
/*
* Sanity check; make sure we have a meaningful value.
Received on Thu Nov 20 2008 - 17:44:30 MST
This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 12:00:03 MST