From: Noel Power Date: Tue, 7 Jan 2020 10:55:19 +0000 (+0000) Subject: selftest: Modify fileserver_smb1 with vfs_aio params X-Git-Tag: ldb-2.2.0~1024 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=58623e53485f398f5c102b21839ea66979a09992;p=thirdparty%2Fsamba.git selftest: Modify fileserver_smb1 with vfs_aio params To support running tests samba3.smbtorture_s3.vfs_aio* in test env fileserver_smb1 we need to add some params to fileserver_smb1 config files. Signed-off-by: Noel Power Reviewed-by: Ralph Boehme --- diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index 22c7c30245f..083846c87b6 100755 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -1469,6 +1469,60 @@ sub setup_fileserver_smb1 [hidenewfiles] path = $prefix_abs/share hide new files timeout = 5 +[vfs_aio_pthread] + path = $prefix_abs/share + read only = no + vfs objects = aio_pthread + aio_pthread:aio open = yes + smbd:async dosmode = no + +[vfs_aio_pthread_async_dosmode_default1] + path = $prefix_abs/share + read only = no + vfs objects = aio_pthread + store dos attributes = yes + aio_pthread:aio open = yes + smbd:async dosmode = yes + +[vfs_aio_pthread_async_dosmode_default2] + path = $prefix_abs/share + read only = no + vfs objects = aio_pthread xattr_tdb + store dos attributes = yes + aio_pthread:aio open = yes + smbd:async dosmode = yes + +[vfs_aio_pthread_async_dosmode_force_sync1] + path = $prefix_abs/share + read only = no + vfs objects = aio_pthread + store dos attributes = yes + aio_pthread:aio open = yes + smbd:async dosmode = yes + # This simulates non linux systems + smbd:force sync user path safe threadpool = yes + smbd:force sync user chdir safe threadpool = yes + smbd:force sync root path safe threadpool = yes + smbd:force sync root chdir safe threadpool = yes + +[vfs_aio_pthread_async_dosmode_force_sync2] + path = $prefix_abs/share + read only = no + vfs objects = aio_pthread xattr_tdb + store dos attributes = yes + aio_pthread:aio open = yes + smbd:async dosmode = yes + # This simulates non linux systems + smbd:force sync user path safe threadpool = yes + smbd:force sync user chdir safe threadpool = yes + smbd:force sync root path safe threadpool = yes + smbd:force sync root chdir safe threadpool = yes + +[vfs_aio_fork] + path = $prefix_abs/share + vfs objects = aio_fork + read only = no + vfs_aio_fork:erratic_testing_mode=yes "; return $self->setup_fileserver($path, $conf, "FILESERVERSMB1"); }