smbd: Remove write cache
authorVolker Lendecke <vl@samba.org>
Mon, 27 May 2019 09:24:14 +0000 (11:24 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 13 Nov 2019 00:20:55 +0000 (00:20 +0000)
commit3fea05e01f845588eb0de63af435bfec670593be
tree91f3d63cf87fddc636b10af9095306fdbaba6beb
parenta0aaf5c3345239959221d6c2e9cd949b8ccdf233
smbd: Remove write cache

Since this was written, our write path has changed significantly. In
particular we have gained very flexible support for async I/O, with the
linux io_uring in the pipeline. Caching stuff in main memory and then
doing a blocking pwrite nowadays does not belong into the core smbd
code. If someone wants it back, it should be doable in a VFS module.

Removes: "write cache size" parameter.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Nov 13 00:20:55 UTC 2019 on sn-devel-184
18 files changed:
WHATSNEW.txt
docs-xml/smbdotconf/tuning/writecachesize.xml [deleted file]
source3/include/smb.h
source3/include/smbprofile.h
source3/include/vfs.h
source3/param/loadparm.c
source3/smbd/aio.c
source3/smbd/close.c
source3/smbd/fileio.c
source3/smbd/globals.c
source3/smbd/globals.h
source3/smbd/open.c
source3/smbd/oplock.c
source3/smbd/proto.h
source3/smbd/reply.c
source3/smbd/smb2_flush.c
source3/smbd/smb2_read.c
source3/smbd/vfs.c