metze/samba/wip.git
9 months agorevert bpf af_kcm master-bpf
Stefan Metzmacher [Mon, 19 Jul 2021 22:40:03 +0000 (00:40 +0200)]
revert bpf af_kcm

9 months agorevert libbpf configure checks
Stefan Metzmacher [Mon, 19 Jul 2021 22:32:23 +0000 (00:32 +0200)]
revert libbpf configure checks

9 months agomore
Stefan Metzmacher [Mon, 19 Apr 2021 23:05:10 +0000 (23:05 +0000)]
more

9 months agosource3/smbd/af_kcm.test.c receive all fails
Stefan Metzmacher [Mon, 19 Apr 2021 22:45:45 +0000 (22:45 +0000)]
source3/smbd/af_kcm.test.c receive all fails

9 months agoSOL_SOCKET, SO_RCVBUFFORCE 0xffffff+4
Stefan Metzmacher [Mon, 19 Apr 2021 22:41:55 +0000 (22:41 +0000)]
SOL_SOCKET, SO_RCVBUFFORCE 0xffffff+4

9 months agomore source3/smbd/af_kcm.bpftrace.bt
Stefan Metzmacher [Mon, 19 Apr 2021 20:11:47 +0000 (20:11 +0000)]
more source3/smbd/af_kcm.bpftrace.bt

9 months agoRevert "source3/smbd/af_kcm.test.c first-large reproduce"
Stefan Metzmacher [Mon, 19 Apr 2021 18:34:53 +0000 (18:34 +0000)]
Revert "source3/smbd/af_kcm.test.c first-large reproduce"

This reverts commit e1bb764643b90731714ea58026f8d44f01d34bbf.

9 months agosource3/smbd/af_kcm.test.c first-large reproduce
Stefan Metzmacher [Mon, 19 Apr 2021 18:34:14 +0000 (18:34 +0000)]
source3/smbd/af_kcm.test.c first-large reproduce

9 months agomore source3/smbd/af_kcm.bpftrace.bt
Stefan Metzmacher [Mon, 19 Apr 2021 17:26:41 +0000 (17:26 +0000)]
more source3/smbd/af_kcm.bpftrace.bt

9 months agomore source3/smbd/af_kcm.bpftrace.bt
Stefan Metzmacher [Mon, 19 Apr 2021 15:39:30 +0000 (15:39 +0000)]
more source3/smbd/af_kcm.bpftrace.bt

9 months agomore
Stefan Metzmacher [Mon, 19 Apr 2021 15:02:41 +0000 (15:02 +0000)]
more

9 months agomore source3/smbd/af_kcm.bpftrace.bt
Stefan Metzmacher [Mon, 19 Apr 2021 13:13:35 +0000 (13:13 +0000)]
more source3/smbd/af_kcm.bpftrace.bt

9 months agosource3/smbd/af_kcm.bpftrace.bt
Stefan Metzmacher [Mon, 19 Apr 2021 13:05:30 +0000 (13:05 +0000)]
source3/smbd/af_kcm.bpftrace.bt

9 months agobpftrace ./af_kcm.bpftrace.bt -c ./af_kcm.test
Stefan Metzmacher [Mon, 19 Apr 2021 11:18:11 +0000 (11:18 +0000)]
bpftrace ./af_kcm.bpftrace.bt -c ./af_kcm.test

9 months agodebug: bpftrace -e 'kprobe:*kcm*,kprobe:*sendmsg*,kprobe:*recvmsg* /pid != 811/ ...
Stefan Metzmacher [Mon, 19 Apr 2021 10:18:34 +0000 (10:18 +0000)]
debug: bpftrace -e 'kprobe:*kcm*,kprobe:*sendmsg*,kprobe:*recvmsg* /pid != 811/ { printf("PID %d %s...\n", pid, func); }' -c 'source3/smbd/af_kcm.load-test'

9 months agoreproduce
Stefan Metzmacher [Mon, 19 Apr 2021 09:28:02 +0000 (09:28 +0000)]
reproduce

9 months agomore
Stefan Metzmacher [Mon, 19 Apr 2021 09:15:25 +0000 (09:15 +0000)]
more

9 months agoset_socket_options(kcm_sock, lp_socket_options());
Stefan Metzmacher [Mon, 19 Apr 2021 07:48:33 +0000 (07:48 +0000)]
set_socket_options(kcm_sock, lp_socket_options());

9 months agosendmsg_flags |= MSG_EOR
Stefan Metzmacher [Sun, 18 Apr 2021 19:20:30 +0000 (19:20 +0000)]
sendmsg_flags |= MSG_EOR

9 months agofix source3/smbd/af_kcm.bpf.c ???
Stefan Metzmacher [Fri, 16 Apr 2021 20:31:25 +0000 (20:31 +0000)]
fix source3/smbd/af_kcm.bpf.c ???

9 months agoalways smb2srv", "recv_kcm
Stefan Metzmacher [Fri, 16 Apr 2021 19:54:56 +0000 (19:54 +0000)]
always smb2srv", "recv_kcm

9 months agofix source3/smbd/af_kcm.bpf.c
Stefan Metzmacher [Fri, 16 Apr 2021 19:54:33 +0000 (19:54 +0000)]
fix source3/smbd/af_kcm.bpf.c

9 months agosource3/smbd/af_kcm.bpf.h
Stefan Metzmacher [Fri, 16 Apr 2021 17:57:49 +0000 (17:57 +0000)]
source3/smbd/af_kcm.bpf.h

9 months agosource3/smbd/af_kcm.load-test.c
Stefan Metzmacher [Fri, 16 Apr 2021 17:49:44 +0000 (17:49 +0000)]
source3/smbd/af_kcm.load-test.c

9 months agosource3/smbd/smb2_server.c smbd/af_kcm.bpf.h
Stefan Metzmacher [Fri, 16 Apr 2021 17:49:00 +0000 (17:49 +0000)]
source3/smbd/smb2_server.c smbd/af_kcm.bpf.h

9 months ago/root/samba.git/source3/smbd/af_kcm.bpf.o
Stefan Metzmacher [Fri, 16 Apr 2021 14:12:15 +0000 (14:12 +0000)]
/root/samba.git/source3/smbd/af_kcm.bpf.o

9 months agosource3/smbd/af_kcm*
Stefan Metzmacher [Fri, 16 Apr 2021 14:12:02 +0000 (14:12 +0000)]
source3/smbd/af_kcm*

9 months agoaf_kcm.bpf
Stefan Metzmacher [Fri, 16 Apr 2021 14:00:46 +0000 (14:00 +0000)]
af_kcm.bpf

9 months agosource3/smbd/af_kcm_bpf.build
Stefan Metzmacher [Fri, 16 Apr 2021 13:15:59 +0000 (13:15 +0000)]
source3/smbd/af_kcm_bpf.build

9 months agoTODO smb2srv:recv_kcm = yes
Stefan Metzmacher [Fri, 16 Apr 2021 02:27:40 +0000 (02:27 +0000)]
TODO smb2srv:recv_kcm = yes

9 months agomore bpf tries
Stefan Metzmacher [Fri, 16 Apr 2021 01:40:32 +0000 (01:40 +0000)]
more bpf tries

9 months agotransport.kcm_sock
Stefan Metzmacher [Fri, 16 Apr 2021 00:01:52 +0000 (00:01 +0000)]
transport.kcm_sock

9 months agoclang -target bpf -g -c -x c source3/smbd/af_kcm_bpf.c -o source3/smbd/af_kcm_bpf.o
Stefan Metzmacher [Thu, 15 Apr 2021 23:06:10 +0000 (23:06 +0000)]
clang -target bpf -g -c -x c source3/smbd/af_kcm_bpf.c -o source3/smbd/af_kcm_bpf.o

9 months agoHACK: restore source3/client/client.c from origin/master
Ralph Boehme [Thu, 21 Oct 2021 14:27:36 +0000 (16:27 +0200)]
HACK: restore source3/client/client.c from origin/master

git sh origin/master:source3/client/client.c > source3/client/client.c

9 months agoHACK: libcli/smb/smbXcli_base: splice write
Ralph Boehme [Thu, 21 Oct 2021 13:55:20 +0000 (15:55 +0200)]
HACK: libcli/smb/smbXcli_base: splice write

9 months agoHACK: MSG_MORE
Ralph Boehme [Thu, 21 Oct 2021 13:55:12 +0000 (15:55 +0200)]
HACK: MSG_MORE

9 months agoHACK: client limit push to 1G
Ralph Boehme [Thu, 21 Oct 2021 10:06:30 +0000 (12:06 +0200)]
HACK: client limit push to 1G

9 months agosmb2cli_conn_dispatch_incoming skip signing check
Stefan Metzmacher [Tue, 14 Sep 2021 10:50:17 +0000 (10:50 +0000)]
smb2cli_conn_dispatch_incoming skip signing check

9 months agoHACK client splice /dev/null
Stefan Metzmacher [Tue, 21 Sep 2021 14:19:40 +0000 (14:19 +0000)]
HACK client splice /dev/null

9 months agoHACK: client: don't write data to disk
Ralph Boehme [Sat, 16 Oct 2021 15:16:23 +0000 (17:16 +0200)]
HACK: client: don't write data to disk

9 months agoRevert "HACK client splice /dev/null"
Stefan Metzmacher [Tue, 21 Sep 2021 15:18:46 +0000 (15:18 +0000)]
Revert "HACK client splice /dev/null"

This reverts commit 0e3794c96edd13b784cb3616a2ed329965ced2bd.

9 months agoRevert "smb2cli_conn_dispatch_incoming skip signing check"
Stefan Metzmacher [Tue, 21 Sep 2021 15:18:46 +0000 (15:18 +0000)]
Revert "smb2cli_conn_dispatch_incoming skip signing check"

This reverts commit 578a81ff5aa09eb2d40d9ac2b0456e0a9d6535e6.

9 months agosmb2cli_conn_dispatch_incoming skip signing check
Stefan Metzmacher [Tue, 14 Sep 2021 10:50:17 +0000 (10:50 +0000)]
smb2cli_conn_dispatch_incoming skip signing check

9 months agoHACK client splice /dev/null
Stefan Metzmacher [Tue, 21 Sep 2021 14:19:40 +0000 (14:19 +0000)]
HACK client splice /dev/null

9 months agosmb2srv:vfs_io_read_force_fill_buffer
Stefan Metzmacher [Tue, 21 Sep 2021 10:00:28 +0000 (10:00 +0000)]
smb2srv:vfs_io_read_force_fill_buffer

9 months agosq vfs_io_uring_io_read_completion_buf
Stefan Metzmacher [Tue, 21 Sep 2021 09:52:17 +0000 (09:52 +0000)]
sq vfs_io_uring_io_read_completion_buf

9 months agosource3/smbd/smb2_server.c per connection/direction urings
Stefan Metzmacher [Thu, 16 Sep 2021 21:04:51 +0000 (21:04 +0000)]
source3/smbd/smb2_server.c per connection/direction urings

9 months ago../../source4/torture/smb2/ioctl.c TODO if (0)
Stefan Metzmacher [Thu, 16 Sep 2021 10:17:35 +0000 (12:17 +0200)]
../../source4/torture/smb2/ioctl.c TODO if (0)

9 months agosource4/torture/smb2/ioctl.c next
Stefan Metzmacher [Thu, 16 Sep 2021 10:17:17 +0000 (12:17 +0200)]
source4/torture/smb2/ioctl.c next

9 months agorm selftest/knownfail.d/smb2.ioctl.bug14788
Stefan Metzmacher [Thu, 16 Sep 2021 09:05:27 +0000 (11:05 +0200)]
rm selftest/knownfail.d/smb2.ioctl.bug14788

9 months agoselftest/knownfail.d/smb2.ioctl.bug14788
Stefan Metzmacher [Thu, 16 Sep 2021 08:59:17 +0000 (10:59 +0200)]
selftest/knownfail.d/smb2.ioctl.bug14788

9 months agoRevert "smb2cli_conn_dispatch_incoming skip signing check"
Stefan Metzmacher [Tue, 14 Sep 2021 10:50:31 +0000 (10:50 +0000)]
Revert "smb2cli_conn_dispatch_incoming skip signing check"

This reverts commit 7fa9edcefb9d69ef0ec2b403458cd199657129d5.

9 months agosmb2cli_conn_dispatch_incoming skip signing check
Stefan Metzmacher [Tue, 14 Sep 2021 10:50:17 +0000 (10:50 +0000)]
smb2cli_conn_dispatch_incoming skip signing check

9 months agoRevert "splice_qe->force_async = true???"
Stefan Metzmacher [Thu, 9 Sep 2021 21:15:14 +0000 (21:15 +0000)]
Revert "splice_qe->force_async = true???"

This reverts commit 50d7c5137b63cac263428b4ee35a4343bca16643.

9 months agosplice_qe->force_async = true???
Stefan Metzmacher [Thu, 9 Sep 2021 15:26:42 +0000 (15:26 +0000)]
splice_qe->force_async = true???

9 months agoRevert "SO_INCOMING_CPU v3"
Stefan Metzmacher [Mon, 13 Sep 2021 14:19:49 +0000 (16:19 +0200)]
Revert "SO_INCOMING_CPU v3"

This reverts commit 4a49fdcec8b0b30ae1407d55551038fd1c77ca45.

9 months agoSO_INCOMING_CPU v3
Stefan Metzmacher [Tue, 29 Sep 2020 21:10:00 +0000 (23:10 +0200)]
SO_INCOMING_CPU v3

9 months agoRevert "TODO testing tevent: add support for TEVENT_FD_ERROR"
Stefan Metzmacher [Tue, 27 Apr 2021 15:54:37 +0000 (17:54 +0200)]
Revert "TODO testing tevent: add support for TEVENT_FD_ERROR"

This reverts commit 44cc106e51fe147b83306945fad6fabac17b6a4b.

9 months agoTODO testing tevent: add support for TEVENT_FD_ERROR
Stefan Metzmacher [Wed, 13 Jul 2011 07:46:26 +0000 (09:46 +0200)]
TODO testing tevent: add support for TEVENT_FD_ERROR

metze

9 months agoRevert "TODO SMB2_NETNAME_NEGOTIATE_CONTEXT_ID"
Stefan Metzmacher [Wed, 14 Jul 2021 12:26:13 +0000 (14:26 +0200)]
Revert "TODO SMB2_NETNAME_NEGOTIATE_CONTEXT_ID"

This reverts commit 01ab2a6f02118f01cc6a7641260ed99111738824.

9 months agoTODO SMB2_NETNAME_NEGOTIATE_CONTEXT_ID
Stefan Metzmacher [Wed, 11 Nov 2020 13:35:28 +0000 (14:35 +0100)]
TODO SMB2_NETNAME_NEGOTIATE_CONTEXT_ID

9 months agoRevert "torture_smb2_notify_tcp_disconnect WAIT_FOR_ASYNC_RESPONSE cancel"
Stefan Metzmacher [Thu, 8 Jul 2021 18:31:42 +0000 (20:31 +0200)]
Revert "torture_smb2_notify_tcp_disconnect WAIT_FOR_ASYNC_RESPONSE cancel"

This reverts commit d5f3125a72527fba85216b6b0a8db7846098b407.

9 months agotorture_smb2_notify_tcp_disconnect WAIT_FOR_ASYNC_RESPONSE cancel
Stefan Metzmacher [Fri, 11 Jun 2021 10:59:51 +0000 (10:59 +0000)]
torture_smb2_notify_tcp_disconnect WAIT_FOR_ASYNC_RESPONSE cancel

9 months agoRevert "try_splice"
Stefan Metzmacher [Mon, 13 Sep 2021 14:31:03 +0000 (16:31 +0200)]
Revert "try_splice"

This reverts commit 7bfd3aad14d94b32a4886e48c17fd325461a519d.

9 months agoRevert "sys_recvfile splice"
Stefan Metzmacher [Mon, 13 Sep 2021 14:31:03 +0000 (16:31 +0200)]
Revert "sys_recvfile splice"

This reverts commit 3770d7d2aadbfab7ec904f1f5660fe40eeccc7d4.

9 months agosys_recvfile splice
Stefan Metzmacher [Tue, 29 Sep 2020 21:09:57 +0000 (23:09 +0200)]
sys_recvfile splice

9 months agotry_splice
Stefan Metzmacher [Tue, 29 Sep 2020 21:09:50 +0000 (23:09 +0200)]
try_splice

9 months agoRevert "debug-client"
Stefan Metzmacher [Fri, 2 Oct 2020 14:29:41 +0000 (16:29 +0200)]
Revert "debug-client"

This reverts commit 4a19f8c0eee92b2fa7d1e2c6c57f77a686269114.

9 months agodebug-client
Stefan Metzmacher [Fri, 2 Oct 2020 14:29:31 +0000 (16:29 +0200)]
debug-client

9 months agosource3/smbd/io_uring_recvmsg.bt
Stefan Metzmacher [Wed, 8 Sep 2021 15:03:11 +0000 (15:03 +0000)]
source3/smbd/io_uring_recvmsg.bt

9 months agosq HACK source3/client/client.c 200 pull/push
Stefan Metzmacher [Tue, 27 Apr 2021 15:23:16 +0000 (15:23 +0000)]
sq HACK source3/client/client.c 200 pull/push

9 months agoHACK source3/client/client.c 200 pull/push
Stefan Metzmacher [Thu, 6 Feb 2020 03:05:51 +0000 (04:05 +0100)]
HACK source3/client/client.c 200 pull/push

9 months agoRevert "HACK source3/client/client.c 200 pull/push"
Stefan Metzmacher [Thu, 15 Apr 2021 13:14:54 +0000 (15:14 +0200)]
Revert "HACK source3/client/client.c 200 pull/push"

This reverts commit 69196f3d942263d581534b47083fb518971d64f0.

9 months agoHACK source3/client/client.c 200 pull/push
Stefan Metzmacher [Thu, 6 Feb 2020 03:05:51 +0000 (04:05 +0100)]
HACK source3/client/client.c 200 pull/push

9 months agoHACK push_source 5G memset
Stefan Metzmacher [Mon, 19 Apr 2021 23:35:30 +0000 (23:35 +0000)]
HACK push_source 5G memset

9 months agolib/async_req/async_sock.c 50% faster
Stefan Metzmacher [Tue, 27 Apr 2021 15:33:47 +0000 (15:33 +0000)]
lib/async_req/async_sock.c 50% faster

9 months agoread_packet_handler_do_recv recvmsg
Stefan Metzmacher [Tue, 20 Apr 2021 14:46:20 +0000 (14:46 +0000)]
read_packet_handler_do_recv recvmsg

9 months agowritev_do => sendmsg
Stefan Metzmacher [Tue, 20 Apr 2021 14:44:12 +0000 (14:44 +0000)]
writev_do => sendmsg

9 months agoRevert "writev_do => sendmsg"
Stefan Metzmacher [Tue, 27 Apr 2021 15:18:20 +0000 (15:18 +0000)]
Revert "writev_do => sendmsg"

This reverts commit 2735f6bc8f1d9941c5c6c6751182e66e0489c5f3.

9 months agoRevert "read_packet_handler_do_recv recvmsg"
Stefan Metzmacher [Tue, 27 Apr 2021 15:18:12 +0000 (15:18 +0000)]
Revert "read_packet_handler_do_recv recvmsg"

This reverts commit 7b290038c10819d01372ff09386a7ce4132209e8.

9 months agoread_packet_handler_do_recv recvmsg
Stefan Metzmacher [Tue, 20 Apr 2021 14:46:20 +0000 (14:46 +0000)]
read_packet_handler_do_recv recvmsg

9 months agowritev_do => sendmsg
Stefan Metzmacher [Tue, 20 Apr 2021 14:44:12 +0000 (14:44 +0000)]
writev_do => sendmsg

9 months agosmbd_smb2_request_next_incoming no limit
Stefan Metzmacher [Mon, 5 Oct 2020 06:52:33 +0000 (08:52 +0200)]
smbd_smb2_request_next_incoming no limit

9 months agoRevert "HACK smbd_smb2_request_next_incoming ONLY 1git add -i!"
Stefan Metzmacher [Fri, 2 Oct 2020 14:29:38 +0000 (16:29 +0200)]
Revert "HACK smbd_smb2_request_next_incoming ONLY 1git add -i!"

This reverts commit 713d025117dc59e7f1de58837f7a64de77d067f3.

9 months agoHACK smbd_smb2_request_next_incoming ONLY 1git add -i!
Stefan Metzmacher [Fri, 2 Oct 2020 14:29:33 +0000 (16:29 +0200)]
HACK smbd_smb2_request_next_incoming ONLY 1git add -i!

9 months agosmbd_smb2_request_next_incoming if (cur_send_queue_len > max_send_queue_len) panic
Stefan Metzmacher [Mon, 13 Sep 2021 15:43:43 +0000 (17:43 +0200)]
smbd_smb2_request_next_incoming if (cur_send_queue_len > max_send_queue_len) panic

9 months agoHACK smb2srv:recv_uring_splice_waitall SPLICE_F_GIFT
Stefan Metzmacher [Tue, 27 Apr 2021 11:58:41 +0000 (11:58 +0000)]
HACK smb2srv:recv_uring_splice_waitall SPLICE_F_GIFT

9 months agoMakefile git.build.state
Stefan Metzmacher [Fri, 2 Oct 2020 14:29:30 +0000 (16:29 +0200)]
Makefile git.build.state

9 months agosendmsg/splice linked
Stefan Metzmacher [Tue, 14 Sep 2021 10:49:32 +0000 (10:49 +0000)]
sendmsg/splice linked

9 months agosq vfs_io_uring_io_read_completion_tee tevent_req_defer_callback
Stefan Metzmacher [Tue, 14 Sep 2021 14:41:43 +0000 (14:41 +0000)]
sq vfs_io_uring_io_read_completion_tee tevent_req_defer_callback

9 months agovfs_io_uring_io_read_completion_tee tevent_req_defer_callback
Stefan Metzmacher [Tue, 14 Sep 2021 14:34:43 +0000 (14:34 +0000)]
vfs_io_uring_io_read_completion_tee tevent_req_defer_callback

9 months agosq vfs_io_uring_io_read_completion_tee DBG_ERR
Stefan Metzmacher [Tue, 14 Sep 2021 14:10:16 +0000 (14:10 +0000)]
sq vfs_io_uring_io_read_completion_tee DBG_ERR

9 months agosource3/smbd/vfs.c vfs_io->teefds
Stefan Metzmacher [Tue, 14 Sep 2021 14:09:53 +0000 (14:09 +0000)]
source3/smbd/vfs.c vfs_io->teefds

9 months agosmb2srv:vfs_io_read_signing = no
Stefan Metzmacher [Tue, 14 Sep 2021 13:51:53 +0000 (13:51 +0000)]
smb2srv:vfs_io_read_signing = no

9 months agoRevert "MAYBE NOT vfs_io_uring_io_read_submit SMB_VFS_IO_READ_FLAG_FILL_BUFFER HARDLINK"
Stefan Metzmacher [Tue, 14 Sep 2021 13:22:39 +0000 (13:22 +0000)]
Revert "MAYBE NOT vfs_io_uring_io_read_submit SMB_VFS_IO_READ_FLAG_FILL_BUFFER HARDLINK"

This reverts commit 42f08b06c1b02164cb87ecd63937de2dca89f0ec.

9 months agoMAYBE NOT vfs_io_uring_io_read_submit SMB_VFS_IO_READ_FLAG_FILL_BUFFER HARDLINK
Stefan Metzmacher [Tue, 14 Sep 2021 13:22:13 +0000 (13:22 +0000)]
MAYBE NOT vfs_io_uring_io_read_submit SMB_VFS_IO_READ_FLAG_FILL_BUFFER HARDLINK

9 months agovfs_io_uring_io_read_submission_tee SMB_VFS_IO_READ_FLAG_FILL_BUFFER
Stefan Metzmacher [Tue, 14 Sep 2021 13:21:37 +0000 (13:21 +0000)]
vfs_io_uring_io_read_submission_tee SMB_VFS_IO_READ_FLAG_FILL_BUFFER

9 months agoSMB_VFS_IO_READ_FLAG_FILL_BUFFER
Stefan Metzmacher [Tue, 14 Sep 2021 13:20:27 +0000 (13:20 +0000)]
SMB_VFS_IO_READ_FLAG_FILL_BUFFER

9 months agosq smb_vfs_call_io_write_send flags
Stefan Metzmacher [Tue, 14 Sep 2021 13:19:53 +0000 (13:19 +0000)]
sq smb_vfs_call_io_write_send flags

9 months agosq vfs_io_uring_io_write_send flags
Stefan Metzmacher [Tue, 14 Sep 2021 13:17:41 +0000 (13:17 +0000)]
sq vfs_io_uring_io_write_send flags