Displaying 20 results from an estimated 256 matches for "st_block".
Did you mean:
st_blocks
2008 Sep 15
0
Trace log of unify when glusterfs freezes
...e request type(1) op(34) with handshake
2008-09-15 20:16:53 T [trace.c:535:trace_lookup_cbk] trace: callid: 2 (*this=0x50cd30, op_ret=0, op_errno=2, inode=0x5266a0, *buf=0x526ab0 {st_dev=2049, st_ino=1242079, st_mode=16877, st_nlink=13, st_uid=0, st_gid=0, st_rdev=0, st_size=4096, st_blksize=4096, st_blocks=16})
2008-09-15 20:16:55 T [trace.c:1117:trace_lookup] trace: callid: 3 (*this=0x50cd30, loc=0x526768 {path=/, inode=0x5266a0} )
2008-09-15 20:16:55 T [trace.c:535:trace_lookup_cbk] trace: callid: 3 (*this=0x50cd30, op_ret=0, op_errno=2, inode=0x5266a0, *buf=0x5269f0 {st_dev=2049, st_ino=1242079...
2003 May 09
1
building R 1.7.0 with gcc 3.2.3 on Solaris
...In file included from configure:4124:
/usr/include/sys/stat.h:258: syntax error before "blksize_t"
/usr/include/sys/stat.h:262: syntax error before '}' token
/usr/include/sys/stat.h:318: syntax error before "blksize_t"
/usr/include/sys/stat.h:319: conflicting types for `st_blocks'
/usr/include/sys/stat.h:259: previous declaration of `st_blocks'
/usr/include/sys/stat.h:322: syntax error before '}' token
configure:4163: $? = 1
configure: failed program was:
| #line 4106 "configure"
| /* confdefs.h. */
|
| #define PACKAGE_NAME "R"
| #defin...
2010 Jul 19
1
Oplocks
...rong case:
8711 14:57:50.765677 open("Y_odloz/D8/D8_03_Ivet_98/06aa6459-a011-40f8-bfb1-25d15e7ada61", O_RDWR|O_CREAT|O_EXCL, 0744) = 121
8711 14:57:50.766030 fstat(121, {st_dev=makedev(0, 23), st_ino=3079419, st_mode=S_IFREG|0744, st_nlink=1, st_uid=40022, st_gid=400, st_blksize=262144, st_blocks=0, st_size=0, st_atime=2010/07/13-14:57:50, st_mtime=2010/07/13-14:57:50, st_ctime=2010/07/13-14:57:50}) = 0
8711 14:57:50.766129 fcntl(12, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=8260, len=1}) = 0
8711 14:57:50.766214 fcntl(121, F_SETSIG, 0x23) = 0
8711 14:57:50.766275 fcntl(121, F_SET...
2011 Jan 16
0
fs quota backend bug
...t;
Ok Getquotaroot completed
Part of strace:
read(0, "357 getquotaroot \"INBOX\"\r\n", 1259) = 26
stat("/home/vmail/ofight.org/team at ofight.org/tmp", {st_dev=makedev(253,
2), st_ino=475158, st_mode=S_IFDIR|0700, st_nlink=2, st_uid=1042,
st_gid=102, st_b
lksize=4096, st_blocks=0, st_size=1, st_atime=2011/01/16-10:07:59,
st_mtime=2011/01/16-10:07:59, st_ctime=2011/01/16-10:07:59}) = 0
stat("/home/vmail/ofight.org/team at ofight.org", {st_dev=makedev(253, 2),
st_ino=475157, st_mode=S_IFDIR|0700, st_nlink=11, st_uid=1042,
st_gid=102, st_blks
ize=4096, st_blocks=1...
2005 Mar 05
2
dovecot-pgsql.conf can't find in chroot? (debian)
...[pid 18213] <... fcntl64 resumed> ) = 0
[pid 18211] fstat64(5, <unfinished ...>
[pid 18209] <... fcntl64 resumed> ) = 0
[pid 18211] <... fstat64 resumed> {st_dev=makedev(22, 1), st_ino=917830,
st_mode=S_IFREG|060
0, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=16,
st_size=4264, st_atime=200
5/03/04-22:09:07, st_mtime=2005/03/04-22:09:06,
st_ctime=2005/03/04-22:09:06}) = 0
[pid 18211] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0
x40019000
[pid 18211] fstat64(5, {st_dev=makedev(22, 1), st_ino=917830,
st_mode=S_IFREG...
2020 Feb 08
2
Dovecot/doveadm quota
...ke a lot more space due to indexes and other files in the filesystem, and quota would not be reached.
Also, I've dovecot is using fstat's st_size parameter. This is not "correct", in that the actual space used on disk is always higher.
If we count the number of 512B blocks used (st_blocks), and multiply by 512 to get the true disk usage.
I'll be looking forward for your feedback/ideas.
Thank you!
--
Best regards,
Martynas Bendorius
> On 2020-02-08, at 17:57, Max Kostikov <max at kostikov.co> wrote:
>
> I think these changes will confuse users because calcul...
2013 Aug 21
1
FileSize changing in GlusterNodes
Hi,
When I upload files into the gluster volume, it replicates all the files to both gluster nodes. But the file size slightly varies by (4-10KB), which changes the md5sum of the file.
Command to check file size : du -k *. I'm using glusterFS 3.3.1 with Centos 6.4
This is creating inconsistency between the files on both the bricks. ? What is the reason for this changed file size and how can
2005 Jul 06
1
Error building Samba 3.0.14a on Solaris 9
Hi all,
Compiling Samba 3.0.14a on Solaris 9 with gcc 3.4.2 results in
an error:
---
Compiling libsmb/clifile.c
libsmb/clifile.c: In function `cli_unix_stat':
libsmb/clifile.c:265: error: `STAT_ST_BLOCKSIZE' undeclared
(first use in this function)
libsmb/clifile.c:265: error: (Each undeclared identifier is
reported only once
libsmb/clifile.c:265: error: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target `libsmb/clifile.o'
---
This error f...
2014 Sep 22
2
[PATCH] New APIs: Implement stat calls that return nanosecond timestamps (RHBZ#1144891).
...- output_int64 (stat->nlink);
- output_int64_dev (stat->rdev);
- output_int64 (stat->blocks);
+ output_int64_dev (stat->st_dev);
+ output_int64 (stat->st_ino);
+ output_int64 (stat->st_nlink);
+ output_int64_dev (stat->st_rdev);
+ output_int64 (stat->st_blocks);
}
/* Disabled for now -- user would definitely want these to be interpreted.
@@ -524,7 +524,7 @@ show_file (const char *dir, const char *name,
path = full_path (dir, name);
- if (checksum && is_reg (stat->mode)) {
+ if (checksum && is_reg (stat->st_mode)) {...
2020 Feb 10
2
[nbdkit PATCH 05/10] plugins: Wire up file-based plugin support for NBD_INFO_INIT_STATE
The NBD protocol is adding an extension to let servers advertise
initialization state to the client: whether the image contains holes,
and whether it is known to read as all zeroes. For file-based
plugins, we are already probing lseek(SEEK_HOLE) to learn if extents
are supported; a slight tweak to remember if that result is EOF tells
us if we are sparse, and a similar lseek(SEEK_DATA) returning
2015 Jan 02
2
(no subject)
Hi, we needed these changes when we had to build a guest image
compatible with a starting guest image but not backed by it in any way?
We needed some tool to check our progress, comparing original and?
rebuilt (from scratch) images, and virt-diff seemed the best option, but?
we had to soften the comparison to reduce the noise in the output. I
added some options to ignore certain informations when
2005 May 16
2
Assertion Failure in mbox-sync.c
...the variables here, the core file's still here if any
other info will help:
(gdb) p sync_ctx->input->real_stream->statbuf
$5 = {st_dev = 0, __pad1 = 0, __st_ino = 0, st_mode = 0, st_nlink = 0,
st_uid = 0, st_gid = 0, st_rdev = 0, __pad2 = 0, st_size = 4294967295,
st_blksize = 0, st_blocks = 0, st_atim = {tv_sec = 1116279667, tv_nsec = 0},
st_mtim = {tv_sec = 1116279667, tv_nsec = 0}, st_ctim = {
tv_sec = 1116279667, tv_nsec = 0}, st_ino = 0}
(gdb) p sync_ctx->file_input->v_offset
$8 = 142294527
The mbox size is larger than 142294527
I did notice this, but I'm no...
2015 Jan 02
0
[PATCH] virt-diff: add additional ignore options
...atns (stat_orig);
if (stat == NULL) {
perror ("guestfs_copy_stat");
goto error;
}
+ if (no_compare_perms)
+ stat->st_mode &= 0170000;
+
+ if (no_compare_extra_stats)
+ stat->st_dev = stat->st_ino = stat->st_nlink = stat->st_rdev =
+ stat->st_blocks = 0;
+
+ if (no_compare_uids)
+ stat->st_uid = stat->st_gid = 0;
+
+ if (no_compare_times)
+ stat->st_atime_sec = stat->st_mtime_sec = stat->st_ctime_sec =
+ stat->st_atime_nsec = stat->st_mtime_nsec = stat->st_ctime_nsec = 0;
+
xattrs = guestfs_copy_xattr_l...
2003 Oct 01
2
smbmount not exiting
...= 0
[pid 3493] umask(022) = 022
[pid 3493] open("/var/log/samba/smbmount.log",
O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 0
[pid 3493] fstat64(0, {st_dev=makedev(3, 2), st_ino=32770,
st_mode=S_IFREG|0644, st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=8, st_size=3221, st_atime=2003/10/02-02:28:44,
st_mtime=2003/10/02-02:27:34, st_ctime=2003/10/02-02:27:34}) = 0
[pid 3493] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40018000
[pid 3493] fstat64(0, {st_dev=makedev(3, 2), st_ino=32770,
st_mode=S_IFREG|0...
2005 Dec 28
0
[patch] sparc64 fix stat()
...st_dev;
+ unsigned long st_dev;
+ unsigned short __pad1;
ino_t st_ino;
mode_t st_mode;
- short st_nlink;
+ unsigned int st_nlink;
uid_t st_uid;
gid_t st_gid;
- unsigned st_rdev;
+ unsigned long st_rdev;
+ unsigned short __pad2;
off_t st_size;
+ off_t st_blksize;
+ off_t st_blocks;
time_t st_atime;
+ unsigned long __unused1;
time_t st_mtime;
+ unsigned long __unused2;
time_t st_ctime;
- off_t st_blksize;
- off_t st_blocks;
- unsigned long __unused4[2];
+ unsigned long __unused3;
+ unsigned long __unused4;
+ unsigned long __unused5;
};
#endif
2013 Nov 12
0
[klibc:master] arm64: Fix struct stat
...st_rdev; /* Device number, if device. */
- unsigned long __pad1;
- long st_size; /* Size of file, in bytes. */
- int st_blksize; /* Optimal block size for I/O. */
- int __pad2;
- long st_blocks; /* Number 512-byte blocks allocated. */
- long st_atime; /* Time of last access. */
- unsigned long st_atime_nsec;
- long st_mtime; /* Time of last modification. */
- unsigned long st_mtime_nsec;
- long...
2015 Jan 06
0
[PATCH] virt-diff: add additional ignore options
...y_statns (stat_orig);
if (stat == NULL) {
perror ("guestfs_copy_stat");
goto error;
}
+ if (!compare_perms)
+ stat->st_mode &= 0170000;
+
+ if (!compare_extra_stats)
+ stat->st_dev = stat->st_ino = stat->st_nlink = stat->st_rdev =
+ stat->st_blocks = 0;
+
+ if (!compare_uids)
+ stat->st_uid = stat->st_gid = 0;
+
+ if (!compare_times)
+ stat->st_atime_sec = stat->st_mtime_sec = stat->st_ctime_sec =
+ stat->st_atime_nsec = stat->st_mtime_nsec = stat->st_ctime_nsec = 0;
+
xattrs = guestfs_copy_xattr_list...
2020 Feb 07
2
Dovecot/doveadm quota
...{
/* ,S=nnnn[:,] */
p += 3;
for (num = 0; *p >= '0' && *p <= '9'; p++)
@@ -104,7 +104,7 @@
str_truncate(path, len);
str_append(path, dp->d_name);
if (stat(str_c(path), &st) == 0) {
- *total_bytes += st.st_size;
+ *total_bytes += st.st_blocks * 512;
*total_count += 1;
} else if (errno != ENOENT && errno != ESTALE) {
*error_r = t_strdup_printf(
Thank you!
--
Best regards,
Martynas Bendorius
2008 Sep 09
1
1.1.3: imap crashes with SIGSEGV
...<value optimized out>
path = 0x879f120 "/home/n/i/nivanov/Maildir/.Drafts"
st = {st_dev = 13257686650873676099, __pad1 = 65024, __st_ino = 0,
st_mode = 0, st_nlink = 6076788, st_uid = 16832, st_gid = 2,
st_rdev = 429496771878, __pad2 = 0, st_size = 0, st_blksize = 12288,
st_blocks = 17592186044416, st_atim = {tv_sec = 24, tv_nsec = 0}, st_mtim = {
tv_sec = 1219648514, tv_nsec = 0}, st_ctim = {tv_sec = 1219648514,
tv_nsec = 0}, st_ino = 1220756980}
pool = <value optimized out>
#9 0x08070d24 in maildir_mailbox_open (_storage=0x87aacc0,
name=0x87af6ee &qu...
2011 Jan 16
0
v2.0.9 -segfault in lib21_fts_solr_plugin.so (G.Nau)
...> Part of strace:
> read(0, "357 getquotaroot \"INBOX\"\r\n", 1259) = 26
> stat("/home/vmail/ofight.org/team at ofight.org/tmp", {st_dev=makedev(253,
> 2), st_ino=475158, st_mode=S_IFDIR|0700, st_nlink=2, st_uid=1042,
> st_gid=102, st_b
> lksize=4096, st_blocks=0, st_size=1, st_atime=2011/01/16-10:07:59,
> st_mtime=2011/01/16-10:07:59, st_ctime=2011/01/16-10:07:59}) = 0
> stat("/home/vmail/ofight.org/team at ofight.org", {st_dev=makedev(253, 2),
> st_ino=475157, st_mode=S_IFDIR|0700, st_nlink=11, st_uid=1042,
> st_gid=102, st_blks
&...