Revision e24c567b7ecff1c8b6023a10d7f78256cef742c4 authored by Linus Torvalds on 31 August 2021, 16:11:55 UTC, committed by Linus Torvalds on 31 August 2021, 16:11:55 UTC
Pull initial ksmbd implementation from Steve French: "Initial merge of kernel smb3 file server, ksmbd. The SMB family of protocols is the most widely deployed network filesystem protocol, the default on Windows and Macs (and even on many phones and tablets), with clients and servers on all major operating systems, but lacked a kernel server for Linux. For many cases the current userspace server choices were suboptimal either due to memory footprint, performance or difficulty integrating well with advanced Linux features. ksmbd is a new kernel module which implements the server-side of the SMB3 protocol. The target is to provide optimized performance, GPLv2 SMB server, and better lease handling (distributed caching). The bigger goal is to add new features more rapidly (e.g. RDMA aka "smbdirect", and recent encryption and signing improvements to the protocol) which are easier to develop on a smaller, more tightly optimized kernel server than for example in Samba. The Samba project is much broader in scope (tools, security services, LDAP, Active Directory Domain Controller, and a cross platform file server for a wider variety of purposes) but the user space file server portion of Samba has proved hard to optimize for some Linux workloads, including for smaller devices. This is not meant to replace Samba, but rather be an extension to allow better optimizing for Linux, and will continue to integrate well with Samba user space tools and libraries where appropriate. Working with the Samba team we have already made sure that the configuration files and xattrs are in a compatible format between the kernel and user space server. Various types of functional and regression tests are regularly run against it. One example is the automated 'buildbot' regression tests which use the Linux client to test against ksmbd, e.g. http://smb3-test-rhel-75.southcentralus.cloudapp.azure.com/#/builders/8/builds/56 but other test suites, including Samba's smbtorture functional test suite are also used regularly" * tag '5.15-rc-first-ksmbd-merge' of git://git.samba.org/ksmbd: (219 commits) ksmbd: fix __write_overflow warning in ndr_read_string MAINTAINERS: ksmbd: add cifs_common directory to ksmbd entry MAINTAINERS: ksmbd: update my email address ksmbd: fix permission check issue on chown and chmod ksmbd: don't set FILE DELETE and FILE_DELETE_CHILD in access mask by default MAINTAINERS: add git adddress of ksmbd ksmbd: update SMB3 multi-channel support in ksmbd.rst ksmbd: smbd: fix kernel oops during server shutdown ksmbd: remove select FS_POSIX_ACL in Kconfig ksmbd: use proper errno instead of -1 in smb2_get_ksmbd_tcon() ksmbd: update the comment for smb2_get_ksmbd_tcon() ksmbd: change int data type to boolean ksmbd: Fix multi-protocol negotiation ksmbd: fix an oops in error handling in smb2_open() ksmbd: add ipv6_addr_v4mapped check to know if connection from client is ipv4 ksmbd: fix missing error code in smb2_lock ksmbd: use channel signingkey for binding SMB2 session setup ksmbd: don't set RSS capable in FSCTL_QUERY_NETWORK_INTERFACE_INFO ksmbd: Return STATUS_OBJECT_PATH_NOT_FOUND if smb2_creat() returns ENOENT ksmbd: fix -Wstringop-truncation warnings ...
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 54.9 KB |
Makefile | -rw-r--r-- | 7.6 KB |
class.c | -rw-r--r-- | 12.3 KB |
dev.c | -rw-r--r-- | 11.6 KB |
interface.c | -rw-r--r-- | 26.0 KB |
lib.c | -rw-r--r-- | 3.3 KB |
nvmem.c | -rw-r--r-- | 703 bytes |
proc.c | -rw-r--r-- | 2.1 KB |
rtc-88pm80x.c | -rw-r--r-- | 9.2 KB |
rtc-88pm860x.c | -rw-r--r-- | 10.5 KB |
rtc-ab-b5ze-s3.c | -rw-r--r-- | 28.3 KB |
rtc-ab-eoz9.c | -rw-r--r-- | 14.8 KB |
rtc-ab8500.c | -rw-r--r-- | 10.9 KB |
rtc-abx80x.c | -rw-r--r-- | 22.2 KB |
rtc-ac100.c | -rw-r--r-- | 16.9 KB |
rtc-armada38x.c | -rw-r--r-- | 15.4 KB |
rtc-as3722.c | -rw-r--r-- | 6.6 KB |
rtc-asm9260.c | -rw-r--r-- | 8.9 KB |
rtc-aspeed.c | -rw-r--r-- | 3.1 KB |
rtc-at91rm9200.c | -rw-r--r-- | 17.0 KB |
rtc-at91sam9.c | -rw-r--r-- | 13.1 KB |
rtc-au1xxx.c | -rw-r--r-- | 2.9 KB |
rtc-bd70528.c | -rw-r--r-- | 8.8 KB |
rtc-bq32k.c | -rw-r--r-- | 7.7 KB |
rtc-bq4802.c | -rw-r--r-- | 4.2 KB |
rtc-brcmstb-waketimer.c | -rw-r--r-- | 7.4 KB |
rtc-cadence.c | -rw-r--r-- | 10.4 KB |
rtc-cmos.c | -rw-r--r-- | 36.7 KB |
rtc-core.h | -rw-r--r-- | 866 bytes |
rtc-cpcap.c | -rw-r--r-- | 8.1 KB |
rtc-cros-ec.c | -rw-r--r-- | 9.8 KB |
rtc-da9052.c | -rw-r--r-- | 7.7 KB |
rtc-da9055.c | -rw-r--r-- | 9.1 KB |
rtc-da9063.c | -rw-r--r-- | 14.6 KB |
rtc-davinci.c | -rw-r--r-- | 13.3 KB |
rtc-digicolor.c | -rw-r--r-- | 5.2 KB |
rtc-dm355evm.c | -rw-r--r-- | 3.5 KB |
rtc-ds1216.c | -rw-r--r-- | 3.8 KB |
rtc-ds1286.c | -rw-r--r-- | 9.0 KB |
rtc-ds1302.c | -rw-r--r-- | 5.7 KB |
rtc-ds1305.c | -rw-r--r-- | 19.4 KB |
rtc-ds1307.c | -rw-r--r-- | 49.7 KB |
rtc-ds1343.c | -rw-r--r-- | 11.2 KB |
rtc-ds1347.c | -rw-r--r-- | 4.2 KB |
rtc-ds1374.c | -rw-r--r-- | 14.2 KB |
rtc-ds1390.c | -rw-r--r-- | 5.8 KB |
rtc-ds1511.c | -rw-r--r-- | 11.8 KB |
rtc-ds1553.c | -rw-r--r-- | 9.1 KB |
rtc-ds1672.c | -rw-r--r-- | 3.6 KB |
rtc-ds1685.c | -rw-r--r-- | 41.1 KB |
rtc-ds1742.c | -rw-r--r-- | 5.8 KB |
rtc-ds2404.c | -rw-r--r-- | 5.8 KB |
rtc-ds3232.c | -rw-r--r-- | 17.1 KB |
rtc-efi.c | -rw-r--r-- | 6.3 KB |
rtc-em3027.c | -rw-r--r-- | 3.7 KB |
rtc-ep93xx.c | -rw-r--r-- | 4.0 KB |
rtc-fm3130.c | -rw-r--r-- | 15.1 KB |
rtc-fsl-ftm-alarm.c | -rw-r--r-- | 8.2 KB |
rtc-ftrtc010.c | -rw-r--r-- | 5.3 KB |
rtc-generic.c | -rw-r--r-- | 952 bytes |
rtc-goldfish.c | -rw-r--r-- | 5.0 KB |
rtc-hid-sensor-time.c | -rw-r--r-- | 9.0 KB |
rtc-hym8563.c | -rw-r--r-- | 13.9 KB |
rtc-imx-sc.c | -rw-r--r-- | 4.3 KB |
rtc-imxdi.c | -rw-r--r-- | 24.2 KB |
rtc-isl12022.c | -rw-r--r-- | 6.8 KB |
rtc-isl12026.c | -rw-r--r-- | 11.0 KB |
rtc-isl1208.c | -rw-r--r-- | 23.0 KB |
rtc-jz4740.c | -rw-r--r-- | 9.8 KB |
rtc-lp8788.c | -rw-r--r-- | 7.6 KB |
rtc-lpc24xx.c | -rw-r--r-- | 8.0 KB |
rtc-lpc32xx.c | -rw-r--r-- | 8.6 KB |
rtc-ls1x.c | -rw-r--r-- | 5.0 KB |
rtc-m41t80.c | -rw-r--r-- | 25.9 KB |
rtc-m41t93.c | -rw-r--r-- | 5.3 KB |
rtc-m41t94.c | -rw-r--r-- | 3.7 KB |
rtc-m48t35.c | -rw-r--r-- | 4.4 KB |
rtc-m48t59.c | -rw-r--r-- | 12.3 KB |
rtc-m48t86.c | -rw-r--r-- | 7.4 KB |
rtc-max6900.c | -rw-r--r-- | 6.0 KB |
rtc-max6902.c | -rw-r--r-- | 3.7 KB |
rtc-max6916.c | -rw-r--r-- | 4.0 KB |
rtc-max77686.c | -rw-r--r-- | 21.9 KB |
rtc-max8907.c | -rw-r--r-- | 5.1 KB |
rtc-max8925.c | -rw-r--r-- | 8.0 KB |
rtc-max8997.c | -rw-r--r-- | 12.2 KB |
rtc-max8998.c | -rw-r--r-- | 7.6 KB |
rtc-mc13xxx.c | -rw-r--r-- | 8.0 KB |
rtc-mc146818-lib.c | -rw-r--r-- | 5.4 KB |
rtc-mcp795.c | -rw-r--r-- | 11.0 KB |
rtc-meson-vrtc.c | -rw-r--r-- | 3.5 KB |
rtc-meson.c | -rw-r--r-- | 10.3 KB |
rtc-moxart.c | -rw-r--r-- | 8.6 KB |
rtc-mpc5121.c | -rw-r--r-- | 10.3 KB |
rtc-msm6242.c | -rw-r--r-- | 6.6 KB |
rtc-mt2712.c | -rw-r--r-- | 11.1 KB |
rtc-mt6397.c | -rw-r--r-- | 9.1 KB |
rtc-mt7622.c | -rw-r--r-- | 9.8 KB |
rtc-mv.c | -rw-r--r-- | 8.3 KB |
rtc-mxc.c | -rw-r--r-- | 10.9 KB |
rtc-mxc_v2.c | -rw-r--r-- | 9.9 KB |
rtc-ntxec.c | -rw-r--r-- | 3.9 KB |
rtc-omap.c | -rw-r--r-- | 26.6 KB |
rtc-opal.c | -rw-r--r-- | 6.8 KB |
rtc-palmas.c | -rw-r--r-- | 9.5 KB |
rtc-pcap.c | -rw-r--r-- | 4.5 KB |
rtc-pcf2123.c | -rw-r--r-- | 12.2 KB |
rtc-pcf2127.c | -rw-r--r-- | 25.9 KB |
rtc-pcf50633.c | -rw-r--r-- | 7.2 KB |
rtc-pcf85063.c | -rw-r--r-- | 15.8 KB |
rtc-pcf8523.c | -rw-r--r-- | 12.6 KB |
rtc-pcf85363.c | -rw-r--r-- | 10.5 KB |
rtc-pcf8563.c | -rw-r--r-- | 15.8 KB |
rtc-pcf8583.c | -rw-r--r-- | 6.5 KB |
rtc-pic32.c | -rw-r--r-- | 9.6 KB |
rtc-pl030.c | -rw-r--r-- | 3.5 KB |
rtc-pl031.c | -rw-r--r-- | 12.0 KB |
rtc-pm8xxx.c | -rw-r--r-- | 14.1 KB |
rtc-ps3.c | -rw-r--r-- | 1.4 KB |
rtc-pxa.c | -rw-r--r-- | 10.5 KB |
rtc-r7301.c | -rw-r--r-- | 10.9 KB |
rtc-r9701.c | -rw-r--r-- | 3.6 KB |
rtc-rc5t583.c | -rw-r--r-- | 7.9 KB |
rtc-rc5t619.c | -rw-r--r-- | 9.9 KB |
rtc-rk808.c | -rw-r--r-- | 13.0 KB |
rtc-rp5c01.c | -rw-r--r-- | 7.3 KB |
rtc-rs5c313.c | -rw-r--r-- | 10.2 KB |
rtc-rs5c348.c | -rw-r--r-- | 6.1 KB |
rtc-rs5c372.c | -rw-r--r-- | 18.3 KB |
rtc-rtd119x.c | -rw-r--r-- | 5.6 KB |
rtc-rv3028.c | -rw-r--r-- | 21.4 KB |
rtc-rv3029c2.c | -rw-r--r-- | 22.3 KB |
rtc-rv3032.c | -rw-r--r-- | 22.1 KB |
rtc-rv8803.c | -rw-r--r-- | 15.0 KB |
rtc-rx4581.c | -rw-r--r-- | 7.6 KB |
rtc-rx6110.c | -rw-r--r-- | 12.2 KB |
rtc-rx8010.c | -rw-r--r-- | 10.3 KB |
rtc-rx8025.c | -rw-r--r-- | 13.9 KB |
rtc-rx8581.c | -rw-r--r-- | 8.9 KB |
rtc-s35390a.c | -rw-r--r-- | 12.8 KB |
rtc-s3c.c | -rw-r--r-- | 14.1 KB |
rtc-s3c.h | -rw-r--r-- | 2.1 KB |
rtc-s5m.c | -rw-r--r-- | 20.2 KB |
rtc-sa1100.c | -rw-r--r-- | 9.7 KB |
rtc-sa1100.h | -rw-r--r-- | 447 bytes |
rtc-sc27xx.c | -rw-r--r-- | 16.6 KB |
rtc-sd3078.c | -rw-r--r-- | 5.8 KB |
rtc-sh.c | -rw-r--r-- | 17.0 KB |
rtc-snvs.c | -rw-r--r-- | 10.2 KB |
rtc-spear.c | -rw-r--r-- | 12.4 KB |
rtc-st-lpc.c | -rw-r--r-- | 7.4 KB |
rtc-starfire.c | -rw-r--r-- | 1.2 KB |
rtc-stk17ta8.c | -rw-r--r-- | 9.2 KB |
rtc-stm32.c | -rw-r--r-- | 24.4 KB |
rtc-stmp3xxx.c | -rw-r--r-- | 12.3 KB |
rtc-sun4v.c | -rw-r--r-- | 1.9 KB |
rtc-sun6i.c | -rw-r--r-- | 19.9 KB |
rtc-sunxi.c | -rw-r--r-- | 12.6 KB |
rtc-tegra.c | -rw-r--r-- | 10.6 KB |
rtc-test.c | -rw-r--r-- | 4.1 KB |
rtc-tps6586x.c | -rw-r--r-- | 7.7 KB |
rtc-tps65910.c | -rw-r--r-- | 12.0 KB |
rtc-tps80031.c | -rw-r--r-- | 8.2 KB |
rtc-twl.c | -rw-r--r-- | 16.8 KB |
rtc-v3020.c | -rw-r--r-- | 8.7 KB |
rtc-vr41xx.c | -rw-r--r-- | 8.0 KB |
rtc-vt8500.c | -rw-r--r-- | 7.4 KB |
rtc-wilco-ec.c | -rw-r--r-- | 4.6 KB |
rtc-wm831x.c | -rw-r--r-- | 12.3 KB |
rtc-wm8350.c | -rw-r--r-- | 11.3 KB |
rtc-x1205.c | -rw-r--r-- | 15.9 KB |
rtc-xgene.c | -rw-r--r-- | 6.6 KB |
rtc-zynqmp.c | -rw-r--r-- | 8.2 KB |
sysfs.c | -rw-r--r-- | 8.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...