Skip to content

Instantly share code, notes, and snippets.

rfjakob

  • Vienna, Austria
Block or report user

Report or block rfjakob

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View rsync_speed.txt
$ rsync -P /tmp/1g 127.0.0.1:/tmp/1g.2
1g
1,073,741,824 100% 22.71MB/s 0:00:45 (xfr#1, to-chk=0/1)
$ rsync -P /tmp/1g -e "ssh -T" 127.0.0.1:/tmp/1g.2
1g
1,073,741,824 100% 20.39MB/s 0:00:50 (xfr#1, to-chk=0/1)
$ rsync -P /tmp/1g -e "ssh -o Compression=no" 127.0.0.1:/tmp/1g.2
1g
View gvfs-udisks2-volume-monitor.strace.log
osboxes@osboxes:~$ ps auxwww | grep udisk
osboxes 1874 0.1 0.4 377172 10064 ? Sl 14:57 0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
root 1881 0.1 0.4 382392 9924 ? Ssl 14:57 0:00 /usr/lib/udisks2/udisksd --no-debug
osboxes 2125 0.0 0.0 21292 984 pts/8 R+ 14:59 0:00 grep --color=auto udisk
osboxes@osboxes:~$ sudo strace -f -p 1874
strace: Process 1874 attached with 3 threads
[pid 1880] restart_syscall(<... resuming interrupted restart_syscall ...> <unfinished ...>
[pid 1879] restart_syscall(<... resuming interrupted restart_syscall ...> <unfinished ...>
[pid 1874] restart_syscall(<... resuming interrupted restart_syscall ...>) = 1
View test.log
osboxes@osboxes:~/go/src/github.com/hanwen/go-fuse/nodefs$ uname -a
Linux osboxes 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
osboxes@osboxes:~/go/src/github.com/hanwen/go-fuse/nodefs$ git describe
v1.0.0-170-g4f40cf4
osboxes@osboxes:~/go/src/github.com/hanwen/go-fuse/nodefs$ go test -run TestReadDir -v
=== RUN TestReadDir
08:02:31.690637 rx 1: INIT i0 {7.26 Ra 0x20000 AUTO_INVAL_DATA,PARALLEL_DIROPS,NO_OPEN_SUPPORT,POSIX_ACL,HANDLE_KILLPRIV,ATOMIC_O_TRUNC,EXPORT_SUPPORT,BIG_WRITES,IOCTL_DIR,READDIRPLUS_AUTO,ASYNC_DIO,WRITEBACK_CACHE,POSIX_LOCKS,SPLICE_READ,FLOCK_LOCKS,READDIRPLUS,SPLICE_MOVE,ASYNC_READ,DONT_MASK,SPLICE_WRITE}
08:02:31.690746 tx 1: OK, {7.26 Ra 0x20000 ASYNC_READ,AUTO_INVAL_DATA,PARALLEL_DIROPS,BIG_WRITES,NO_OPEN_SUPPORT,READDIRPLUS 0/0 Wr 0x10000 Tg 0x0}
08:02:31.690870 rx 2: LOOKUP i1 [".go-fuse-epoll-hack"] 20b
08:02:31.690928 tx 2: 2=no such file or directory, {i0 g0 tE=0s tA=0s {M00 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000 M 0.
View bisect.log
05a3771cbea72f2f7d50be19daa19f3dff2d6163 is the first bad commit
commit 05a3771cbea72f2f7d50be19daa19f3dff2d6163
Author: Kirill Smelkov <kirr@nexedi.com>
Date: Sat Feb 16 22:21:52 2019 +0300
fuse: Enable parallel lookup and readdir by default
After Linux VFS was enhanced to be able to do several lookups and
readdirs in parallel, FUSE client in Linux, in fear to break existing
filesystems, explicitly reverted it back to be serial in FUSE exchange
View xfstests.log
fuse-xfstests$ sudo ./check-gocryptfs
[sudo] password for jakob:
gocryptfs v1.7-rc1-67-gbdd5f47-dirty; go-fuse v20170619-82-gc121160-dirty; 2019-02-03 go1.11.4
fuse-xfstests gocryptfs-2018-08-18/d8111119
Sun Feb 3 14:51:49 UTC 2019
FSTYP -- fuse.gocryptfs
PLATFORM -- Linux/x86_64 brikett 4.19.12-301.fc29.x86_64
MKFS_OPTIONS -- /var/tmp/check-gocryptfs/scratchdev
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /var/tmp/check-gocryptfs/scratchdev /var/tmp/check-gocryptfs/scratchdir
View xfstests.log
fuse-xfstests$ sudo ./check-gocryptfs
[sudo] password for jakob:
gocryptfs v1.7-rc1-66-gb86cc33; go-fuse v20170619-78-g816463b; 2019-01-24 go1.11.4
fuse-xfstests gocryptfs-2018-08-18/d8111119
Thu Jan 24 07:05:15 UTC 2019
FSTYP -- fuse.gocryptfs
PLATFORM -- Linux/x86_64 brikett 4.19.12-301.fc29.x86_64
MKFS_OPTIONS -- /var/tmp/check-gocryptfs/scratchdev
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /var/tmp/check-gocryptfs/scratchdev /var/tmp/check-gocryptfs/scratchdir
View xfstests.log
$ sudo ./check-gocryptfs
gocryptfs v1.7-rc1-66-gb86cc33; go-fuse v20170619-78-gdfd0ceb; 2019-01-23 go1.11.4
fuse-xfstests gocryptfs-2018-08-18/d8111119
Wed Jan 23 21:22:34 UTC 2019
FSTYP -- fuse.gocryptfs
PLATFORM -- Linux/x86_64 brikett 4.19.12-301.fc29.x86_64
MKFS_OPTIONS -- /var/tmp/check-gocryptfs/scratchdev
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /var/tmp/check-gocryptfs/scratchdev /var/tmp/check-gocryptfs/scratchdir
View parallel_cp_norecycle.log
This file has been truncated, but you can view the full file.
OpenSSL enabled
cli args: &main.argContainer{debug:true, init:false, zerokey:false, fusedebug:true, openssl:true, passwd:false, fg:true, version:false, plaintextnames:false, quiet:false, nosyslog:true, wpanic:false, longnames:true, allow_other:false, reverse:false, aessiv:false, nonempty:false, raw64:true, noprealloc:false, speed:false, hkdf:true, serialize_reads:false, forcedecode:false, hh:false, info:false, sharedstorage:false, devrandom:false, fsck:false, trezor:false, dev:false, nodev:false, suid:false, nosuid:false, exec:false, noexec:false, rw:false, ro:false, masterkey:"", mountpoint:"/tmp/tmp.mLggyxBble/b", cipherdir:"/tmp/tmp.mLggyxBble/a", cpuprofile:"", extpass:"echo test", memprofile:"", ko:"", passfile:"", ctlsock:"", fsname:"", force_owner:"", trace:"", exclude:main.multipleStrings(nil), config:"/tmp/tmp.mLggyxBble/a/gocryptfs.conf", notifypid:0, scryptn:16, idle:0, _configCustom:false, _ctlsockFd:net.Listener(nil), _forceOwner:(*fuse.Owner)(nil)}
Reading password from extpass program
View parallel_cp.log
2019/01/20 17:51:49 rx 83920: LOOKUP i1 ["sub_42"] 7b
2019/01/20 17:51:49 rx 83925: FLUSH i172 {Fh 46}
2019/01/20 17:51:49 tx 83925: OK
2019/01/20 17:51:49 rx 83968: FLUSH i894 {Fh 146}
2019/01/20 17:51:49 tx 83968: OK
2019/01/20 17:51:49 rx 83969: RELEASE i711 {Fh 185 0x8000 L0}
2019/01/20 17:51:49 tx 83969: OK
2019/01/20 17:51:49 rx 83970: WRITE i328 8192b
2019/01/20 17:51:49 rx 83924: OPEN i692 {O_RDONLY,0x8000}
View xfstests.log
$ sudo ./check-gocryptfs
[sudo] password for jakob:
gocryptfs v1.7-rc1-36-g99e8b6d; go-fuse v20170619-75-gf520193; 2019-01-13 go1.11.4
fuse-xfstests gocryptfs-2018-08-18/d8111119
Sun Jan 13 10:03:45 UTC 2019
FSTYP -- fuse.gocryptfs
PLATFORM -- Linux/x86_64 brikett 4.19.12-301.fc29.x86_64
MKFS_OPTIONS -- /var/tmp/check-gocryptfs/scratchdev
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /var/tmp/check-gocryptfs/scratchdev /var/tmp/check-gocryptfs/scratchdir
You can’t perform that action at this time.