smb locks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,
   I see samba with ctdb locking has following mapping when
kernel oplocks = yes.

   share mode reservations = flock(2)
   posix byte range locking = fcntl(2)
   SMB locks (mandatory) = ctdb using brlock.tdb
   oplocks = fcntl(2) using F_SETLEASE

  Am I correct or I am missing something? I hope only SMB range
locks are implemented with tdb, all else are being used from filesystem.
What happens if flock or fcntl returns -ENOTSUPP, will samba start
using other tdb files (locking.tdb) for that or will it say "not supported"
to CIFS client?

Thanks,
Rajesh
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Linux]     [Info Cyrus]     [LARTC]     [Bugtraq]     [Netfilter]     [Internet Dating Forums]     [RAID]     [Yosemite News]     [Photography]

Add to Google Powered by Linux