[PATCH]: Windows BRL Try 2

Zack Kirsch zack.kirsch at isilon.com
Thu Feb 12 18:09:04 MST 2009


Hi Jeremy and tech,
 
Patches 2 & 3 here are updates to patches 1 & 2 from before. Tprouty
(and metze) really wanted me to remove the struct blocking_lock_record
typedef, so I did that as patch #1. If you've already looked at my
original patches, then you'll want to know that patches 2&3 have the
following changes from my previous submission:
 
* Changed the VFS signatures to take in a conn, instead of an fsp.
* Changed brl_lock() to use br_lck->fsp instead of my addition of
passing in an fsp.
* Changed brl_lock_cancel() to take in a blocking_lock_record * instead
of blr_private - matches the lock/unlock interfaces.
* Changed brl_lock_cancel_default() and brl_lock_windows_default() to
not take in blr_private (or blr), since they're not needed.
* Moved find_blocking_lock_record_by_id() to onefs specific function.
* Changed type of blr_private from uint64_t to void*. Changed the OneFS
implementation to use this better. :)
 
Thanks!
---
Zack Kirsch | Software Development Engineer
Isilon Systems    P +1-206-315-7500     F  +1-206-315-7501
www.isilon.com <http://www.isilon.com>     D +1-206-315-7487    M
+1-206-601-5465
Isilon Systems: How breakthroughs begin. (tm)
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-typedef-struct-blocking_lock_record-and-move.patch
Type: application/octet-stream
Size: 7431 bytes
Desc: 0001-Remove-typedef-struct-blocking_lock_record-and-move.patch
Url : http://lists.samba.org/archive/samba-technical/attachments/20090212/2e82890e/0001-Remove-typedef-struct-blocking_lock_record-and-move.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-VFS-ops-for-Windows-BRL-Lock-Unlock-and-Cancel.patch
Type: application/octet-stream
Size: 40235 bytes
Desc: 0002-Add-VFS-ops-for-Windows-BRL-Lock-Unlock-and-Cancel.patch
Url : http://lists.samba.org/archive/samba-technical/attachments/20090212/2e82890e/0002-Add-VFS-ops-for-Windows-BRL-Lock-Unlock-and-Cancel.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-OneFS-implementation-of-BRL-VFS-ops.patch
Type: application/octet-stream
Size: 18030 bytes
Desc: 0003-OneFS-implementation-of-BRL-VFS-ops.patch
Url : http://lists.samba.org/archive/samba-technical/attachments/20090212/2e82890e/0003-OneFS-implementation-of-BRL-VFS-ops.obj


More information about the samba-technical mailing list