File tree Expand file tree Collapse file tree
src/timecapsulesmb/assets/boot/samba4/common.d Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -399,8 +399,9 @@ $smbd_log_level_line
399399 # aio_fork uses one 128 KiB shared mapping per helper and rejects larger requests.
400400 smb2 max read = 131072
401401 smb2 max write = 131072
402- aio read size = 1
403- aio write size = 1
402+ # Keep reads and writes synchronous; aio_fork remains available for SMB2 flush/fsync.
403+ aio read size = 0
404+ aio write size = 0
404405 deadtime = 15
405406 max open files = 512
406407 max smbd processes = 8
Original file line number Diff line number Diff line change @@ -5327,8 +5327,8 @@ def test_common_generate_smb_conf_uses_single_payload_private_db_for_all_shares(
53275327 self .assertIn ("smb2 max read = 131072" , proc .stdout )
53285328 self .assertIn ("smb2 max write = 131072" , proc .stdout )
53295329 self .assertNotIn ("smb2 max credits" , proc .stdout )
5330- self .assertIn ("aio read size = 1 " , proc .stdout )
5331- self .assertIn ("aio write size = 1 " , proc .stdout )
5330+ self .assertIn ("aio read size = 0 " , proc .stdout )
5331+ self .assertIn ("aio write size = 0 " , proc .stdout )
53325332 self .assertEqual (
53335333 proc .stdout .count ("vfs objects = catia fruit streams_xattr acl_xattr xattr_tdb aio_fork" ),
53345334 2 ,
You can’t perform that action at this time.
0 commit comments