search for: statx

Displaying 13 results from an estimated 13 matches for "statx".

Did you mean: state
2010 Feb 02
2
Question about mbox_snarf and dovecot2.0
...on AIX 5.3 with some local mods for our inbox hash function. I'm having a problem doing a "select inbox" when I use the mbox_snarf plugin. When I run truss on the process I see the following stat calls: 614528: kread(9, " 1 s e l e c t i n b".., 4096) = 15 614528: statx("/gpfs/inbox/14/tstem38", 0x0FFFFFFFFFFFF2F8, 176, 0) = 0 614528: statx("/gpfs/users/t/s/tstem38/IMAP//gpfs/inbox/14/.imap/tstem38", 0x0FFFFFFFFFFFED98, 176, 0) Err#2 ENOENT 614528: statx("/gpfs/users/t/s/tstem38/IMAP//gpfs/inbox/14/tstem38", 0x0FFFFFFFFFFFEDD8, 176,...
2017 Aug 25
2
Gluster 4.0: Update
...e of the assumptions and current design principles of glusterfs project. - *Protocol/XDR changes*: Technically, Gluster?s RPC is implemented in a way to support changing of protocols inbetween even the minor releases, but the major changes like adding another fop (like statx(), fadvise() or similar) will need some protocol changes. Also in discussion is the changes to dictionary structure on wire. We will continue to work on each of this individually, and plan to work towards meeting the release timeline. - *Dates*: The plan is to have th...
2017 Aug 25
0
Gluster 4.0: Update
...> current design principles of glusterfs project. > - *Protocol/XDR changes*: > Technically, Gluster?s RPC is implemented in a way to support > changing of protocols inbetween even the minor releases, but the major > changes like adding another fop (like statx(), fadvise() or similar) will > need some protocol changes. > Also in discussion is the changes to dictionary structure on wire. > We will continue to work on each of this individually, and plan to work > towards meeting the release timeline. > - > >...
2017 Aug 25
2
[Gluster-devel] Gluster 4.0: Update
...nt design principles of glusterfs project. >> - *Protocol/XDR changes*: >> Technically, Gluster?s RPC is implemented in a way to support >> changing of protocols inbetween even the minor releases, but the major >> changes like adding another fop (like statx(), fadvise() or similar) will >> need some protocol changes. >> Also in discussion is the changes to dictionary structure on wire. >> We will continue to work on each of this individually, and plan to work >> towards meeting the release timeline. >...
2019 Mar 05
3
Enable XAT_OFFLINE extended attribute in Samba
My goal is to use the Offline file attribute of Windows when sharing with Samba: https://docs.microsoft.com/en-us/dotnet/api/system.io.fileattributes?redirectedfrom=MSDN&view=netframework-4.7.2 It works when I share ZFS filesystem using the native ZFS CIFS sharing, but it fails when I share the same ZFS with Samba, that is the Offline files are not showed in Windows Client Il 3/4/2019
2024 Nov 05
1
Slow reply to "smbclient -NL localhost" : strace
...with Debian 11. That problem only appeared after I installed Debian 12 (Linux 6.1.0-26-marvell #1 Debian 6.1.112-1 (2024-09-30) armv5tel GNU/Linux). "strace -r smbclient -NL localhost" shows the two locations where it's hanging when listing the shares: ================= ? 0.000410 statx(1, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_BASIC_STATS, {stx_mask=STATX_BASIC_STATS|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFCHR|0600, stx_size=0, ...}) = 0 0.001078 write(1, "\n", 1 )???????? = 1 0.000987 write(1, "\tSharename?????? Type?????...
2024 Nov 05
1
Slow reply to "smbclient -NL localhost" : strace
On Tue, 5 Nov 2024 10:36:49 +0100 Gilles via samba <samba at lists.samba.org> wrote: > On 04/11/2024 15:11, Rowland Penny via samba wrote: > > As I said previously, I do not think this has anything to do with > > Samba. In an earlier post, you had this output when you ran the same > > command using 'time': > > > > real 0m12.500s > > user
2020 Aug 07
8
[nbdkit PATCH 0/4] More .list_exports uses
Here's changes to the file plugin (which I'm happy with) and a new exportname filter (which is still at RFC stage; I need to finish implementing strict mode in .open, and add tests). I also discovered that we really want .list_exports and .open to know when they are used on plaintext vs. tls clients for --tls=on, and we may want to split out a new .default_export callback rather than
2019 Feb 19
2
Re: [PATCH nbdkit 4/4] Add linuxdisk plugin.
..._blocks = 0; > + inode.i_links_count = 1; > + /* XXX nanosecond times? */ > + inode.i_ctime = statbuf->st_ctime; > + inode.i_atime = statbuf->st_atime; > + inode.i_mtime = statbuf->st_mtime; > + inode.i_size = 0; Not for this patch, but now that newer Linux has the statx() call that can expose birthtime, should we be worrying about that (well, ext4 supports birthtime, but if you are targetting just ext2, it probably doesn't matter). Otherwise looks reasonable. -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3226 Virtualization:...
2020 Aug 07
0
[nbdkit PATCH 2/4] file: Add .list_exports support
...rts, "", NULL); + + ACQUIRE_LOCK_FOR_CURRENT_SCOPE (&lock); + rewinddir (dir); + fd = dirfd (dir); + if (fd == -1) { + nbdkit_error ("dirfd: %m"); + return -1; + } + errno = 0; + while ((entry = readdir (dir)) != NULL) { + /* TODO: Optimize with d_type and/or statx when present? */ + if (fstatat (fd, entry->d_name, &sb, 0) == 0 && + (S_ISREG (sb.st_mode) || S_ISBLK (sb.st_mode))) { + if (nbdkit_add_export (exports, entry->d_name, NULL) == -1) { + close (fd); + return -1; + } + } + errno = 0; + } + if...
2019 Feb 19
7
[PATCH nbdkit 0/4] New plugin: Add linuxdisk plugin.
Turns out Japanese trains are good for coding! In supermin we have a bunch of code to create the libguestfs appliance. It creates it directly using libext2fs (part of e2fsprogs). We can use the same technique to create ext2 virtual disks in nbdkit, which is what this new plugin does. Why a new plugin instead of modifying the floppy plugin? See the 4/4 commit message for an explanation. The
2017 Oct 30
3
[locking/paravirt] static_key_disable_cpuslocked(): static key 'virt_spin_lock_key+0x0/0x20' used before call to jump_label_init()
...75.115796] CC ui/helpline.o [ 75.115798] [ 75.124083] CC scripts/python/Perf-Trace-Util/Context.o [ 75.124085] [ 75.134558] CC trace/beauty/pkey_alloc.o [ 75.134561] [ 75.143374] CC ui/progress.o [ 75.143376] [ 75.150964] CC trace/beauty/statx.o [ 75.150967] [ 75.159559] CC util/block-range.o [ 75.159561] [ 75.159988] CC ui/util.o [ 75.159990] [ 75.160538] CC util/build-id.o [ 75.160540] [ 75.160971] CC ui/hist.o [ 75.160973] [ 75.161802] CC arch/x86/tests/regs_load.o [ 7...
2017 Oct 30
3
[locking/paravirt] static_key_disable_cpuslocked(): static key 'virt_spin_lock_key+0x0/0x20' used before call to jump_label_init()
...75.115796] CC ui/helpline.o [ 75.115798] [ 75.124083] CC scripts/python/Perf-Trace-Util/Context.o [ 75.124085] [ 75.134558] CC trace/beauty/pkey_alloc.o [ 75.134561] [ 75.143374] CC ui/progress.o [ 75.143376] [ 75.150964] CC trace/beauty/statx.o [ 75.150967] [ 75.159559] CC util/block-range.o [ 75.159561] [ 75.159988] CC ui/util.o [ 75.159990] [ 75.160538] CC util/build-id.o [ 75.160540] [ 75.160971] CC ui/hist.o [ 75.160973] [ 75.161802] CC arch/x86/tests/regs_load.o [ 7...