Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-02-10 | s3-spoolss: remove old spoolss_StartDocPrinter. | Günther Deschner | 2 | -50/+0 | |
Guenther | |||||
2009-02-10 | s3-spoolss: use SPOOLSS_JOB_CONTROL bits defined in IDL. | Günther Deschner | 1 | -6/+0 | |
Guenther | |||||
2009-02-10 | s3-rpcclient: add rpccli_spoolss_openprinter_ex() convenience wrapper. | Günther Deschner | 1 | -0/+5 | |
Guenther | |||||
2009-02-09 | s3: OneFS bulk directory enumeration support | Steven Danneman | 1 | -1/+1 | |
OneFS provides the bulk directory enumeration syscall readdirplus(). This syscall has the same semantics as the NFSv3 READDIRPLUS command, returning a batch of directory entries with prefetched stat information via one syscall. This commit wraps the readdirplus() call in the existing POSIX readdir/seekdir VFS interface. By default a batch of 128 directory entries are optimistically read from the kernel into a global cache, and fed to iterative calls of VFS_OP_READDIR. The global buffers could be avoided in the future by hanging connection specific buffers off the conn struct. Added new parameter "onefs:use readdirplus" which toggles usage of this code on or off. | |||||
2009-02-09 | s3: Added SMB_VFS_INIT_SEARCH_OP to initialize data at the beginning of SMB ↵ | Steven Danneman | 3 | -2/+10 | |
search requests. By default this VFS call is a NOOP, but the onefs vfs module takes advantage of it to initialize direntry search caches at the beginning of each TRANS2_FIND_FIRST, TRANS2_FIND_NEXT, SMBffirst, SMBsearch, and SMBunique | |||||
2009-02-09 | Pass stat buffer down through all levels of VFS_READDIR wrappers | Steven Danneman | 1 | -2/+3 | |
* VFS_OP_READDIR can now provide stat information, take advantage of it if it's available * is_visible_file(): optimistically expect the provided stat buffer is already valid * dptr_ReadDirName(): refactor code for easier readability, functionality is the same | |||||
2009-02-09 | Add an optional SMB_STRUCT_SMB parameter to VFS_OP_READDIR | Steven Danneman | 2 | -5/+8 | |
* this allows VFS implementations that prefetch stat information on readdir to return it through one VFS call * backwards compatibility is maintained by passing in NULL * if the system readdir doesn't return stat info, the stat struct is set to invalid | |||||
2009-02-09 | s3 OneFS: Add kernel oplocks implementation | Tim Prouty | 2 | -0/+54 | |
A few functions in oplocks_onefs.c need to be accessed from the onefs vfs module. It would be ideal if oplocks were implemented at the vfs layer, but since they aren't yet, a new header is added to source3/include to make these functions available to the onefs vfs module. oplocks_onefs.o doesn't need to be linked into the onefs vfs module explicitly, since it is already linked into smbd by default. | |||||
2009-02-09 | s3 oplocks: Add capabilites flags field to the kernel_oplocks struct | Tim Prouty | 2 | -0/+18 | |
Here is a short description for each of the new capability flags: KOPLOCKS_LEVEL2_SUPPORTED: Level 2 oplocks are supported natively in the kernel. KOPLOCKS_DEFERRED_OPEN_NOTIFICATION: The kernel notifies deferred openers when they can retry the open. KOPLOCKS_TIMEOUT_NOTIFICATION: The kernel notifies smbds when an oplock break times out. KOPLOCKS_OPLOCK_BROKEN_NOTIFICATION: The kernel notifies smbds when an oplock is broken. | |||||
2009-02-09 | s3 oplocks: Make the level2 oplock contention API more granular | Tim Prouty | 2 | -1/+23 | |
This replaces release_level2_oplocks_on_change with contend_level2_oplock_begin/end in order to contend level2 oplocks throughout an operation rather than just at the begining. This is necessary for some kernel oplock implementations, and also lays the groundwork for better correctness in Samba's standard level2 oplock handling. The next step for non-kernel oplocks is to add additional state to the share mode lock struct that prevents any new opens from granting oplocks while a contending operation is in progress. All operations that contend level 2 oplocks are now correctly spanned except for aio and synchronous writes. The two write paths both have non-trivial error paths that need extra care to get right. RAW-OPLOCK and the rest of 'make test' are still passing with this change. | |||||
2009-02-09 | s3 oplocks: Differentiate between releasing an oplock vs. downgrading to ↵ | Tim Prouty | 1 | -1/+1 | |
Level 2 for kernel oplocks Pass in an extra argument when releasing an oplock so kernel oplock implementations can support downgrading from Level 1 to Level 2. | |||||
2009-02-09 | s3 vfs: Add a destructor to the fsp extension data API | Tim Prouty | 3 | -4/+8 | |
I'm not certain if the dummy pointer is needed in struct vfs_fsp_data, but I added it to be consistent with the comment below. | |||||
2009-02-09 | s3-spoolss: remove old spoolss_ScheduleJob. | Günther Deschner | 2 | -16/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old spoolss_AddJob. | Günther Deschner | 2 | -20/+0 | |
Guenther | |||||
2009-02-09 | S3: New module interface for SMB message statistics gathering | todd stecher | 4 | -1/+114 | |
This changelist allows for the addition of custom performance monitoring modules through smb.conf. Entrypoints in the main message processing code have been added to capture the command, subop, ioctl, identity and message size statistics. | |||||
2009-02-09 | s3-spoolss: remove old rpccli_spoolss_routerreplyprinter. | Günther Deschner | 2 | -22/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old spoolss_ReplyClosePrinter. | Günther Deschner | 2 | -18/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old spoolss_AddPrintProcessor. | Günther Deschner | 2 | -19/+0 | |
Guenther | |||||
2009-02-09 | Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵ | Jelmer Vernooij | 1 | -0/+2 | |
and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d. | |||||
2009-02-09 | s3-spoolss: move PRINTER_ENUM_ICONMASK to IDL. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use PRINTER_ENUM_NAME and remove double enum define. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove PRINTER_CHANGE* flags now defined in IDL. | Günther Deschner | 1 | -51/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old _spoolss_FindClosePrinterNotify. | Günther Deschner | 2 | -17/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old _spoolss_DeletePrinterDriverEx. | Günther Deschner | 2 | -30/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old spoolss_DeletePrinterDriver. | Günther Deschner | 2 | -28/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old _spoolss_DeletePrinterKey. | Günther Deschner | 2 | -20/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old _spoolss_DeletePrinterData. | Günther Deschner | 2 | -20/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old _spoolss_DeletePrinterDataEx. | Günther Deschner | 2 | -24/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove SPOOLSS_DELETEPRINTERDRIVEREX flags now defined in IDL. | Günther Deschner | 1 | -6/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old _spoolss_GetForm. | Günther Deschner | 2 | -27/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: restore delete_a_form(). | Günther Deschner | 1 | -2/+1 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old _spoolss_SetForm. | Günther Deschner | 2 | -24/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for _spoolss_SetForm. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-02-09 | s3-spoolss: remove old spoolss_AddForm. | Günther Deschner | 2 | -21/+0 | |
Guenther | |||||
2009-02-09 | s3-spoolss: use pidl for spoolss_AddForm. | Günther Deschner | 1 | -2/+1 | |
Guenther | |||||
2009-02-09 | async_sock: Use unix errnos instead of NTSTATUS | Kai Blin | 2 | -8/+68 | |
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later. | |||||
2009-02-08 | Make prs_struct->out_data.current_pdu dynamically allocated | Volker Lendecke | 1 | -5/+2 | |
Another 4k per open pipe | |||||
2009-02-07 | Make current_in_pdu in pipes_struct allocated | Volker Lendecke | 1 | -1/+1 | |
This makes an open pipe about 4K cheaper | |||||
2009-02-07 | s3-spoolss: remove old _spoolss_WritePrinter. | Günther Deschner | 2 | -25/+0 | |
Guenther | |||||
2009-02-07 | s3-spoolss: remove old _spoolss_DeleteForm. | Günther Deschner | 2 | -16/+0 | |
Guenther | |||||
2009-02-07 | s3-spoolss: rework some form functions and add form_by_string functions. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2009-02-07 | s3-spoolss: use rpccli_spoolss_DeleteForm. | Günther Deschner | 1 | -4/+0 | |
Guenther | |||||
2009-02-06 | s3-spoolss: remove old _spoolss_EndDocPrinter. | Günther Deschner | 2 | -19/+0 | |
Guenther | |||||
2009-02-06 | s3-spoolss: remove old _spoolss_AbortPrinter. | Günther Deschner | 2 | -14/+0 | |
Guenther | |||||
2009-02-06 | s3-spoolss: remove old _spoolss_EndPagePrinter. | Günther Deschner | 2 | -20/+0 | |
Guenther | |||||
2009-02-06 | s3-spoolss: remove old _spoolss_StartPagePrinter. | Günther Deschner | 2 | -19/+0 | |
Guenther | |||||
2009-02-06 | s3-spoolss: remove old _spoolss_DeletePrinter. | Günther Deschner | 2 | -14/+0 | |
Guenther | |||||
2009-02-06 | s3-spoolss: remove old _spoolss_ClosePrinter. | Günther Deschner | 2 | -19/+0 | |
Guenther | |||||
2009-02-06 | s3-spoolss: prepare to use generated spoolss. | Günther Deschner | 3 | -2/+5 | |
Guenther | |||||
2009-02-06 | s3: use pidl to pull a KRB5_EDATA_NTSTATUS. | Günther Deschner | 1 | -6/+0 | |
Guenther |