search for: fromfd

Displaying 4 results from an estimated 4 matches for "fromfd".

Did you mean: fromcd
2004 Dec 20
1
HP-UX/AIX sendfile patches.
...gure.orig.in Mon Dec 20 11:00:03 2004 --- configure.aix.in Mon Dec 20 10:38:36 2004 *************** *** 4242,4247 **** --- 4242,4277 ---- fi ;; + *aix*) + AC_CACHE_CHECK([for AIX send_file support],samba_cv_HAVE_SENDFILE,[ + AC_TRY_LINK([\ + #include <sys/socket.h>], + [\ + int fromfd, tofd; + size_t total=0; + struct sf_parms hdtrl; + ssize_t nwritten; + off64_t offset; + + hdtrl.header_data = 0; + hdtrl.header_length = 0; + hdtrl.file_descriptor = fromfd; + hdtrl.file_offset = 0; + hdtrl.file_bytes = 0; + hdtrl.trailer_data = 0; + hdtrl.trailer_length = 0; + + nw...
2004 Feb 17
0
VFS module programmieren
...uct *handle, struct files_struct *fsp, int fd, const void *data, size_t n); SMB_OFF_T (*lseek)(struct vfs_handle_struct *handle, struct files_struct *fsp, int fd, SMB_OFF_T offset, int whence); ssize_t (*sendfile)(struct vfs_handle_struct *handle, int tofd, files_struct *fsp, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count); ... } ops; struct vfs_handles_pointers { ... /* File operations */ struct vfs_handle_struct *open; struct vfs_handle_struct *close; struct vfs_handle_struct *read; struct vfs_handle_struct *write; struct vfs_handle_...
2007 Jul 13
0
Dconf trouble
...t;/etc/cron.weekly/dconf", line 481, in ? main() File "/etc/cron.weekly/dconf", line 450, in main mail('changes to %s' % os.uname()[1], diff(os.path.realpath(previouslog), os.path.realpath(latestlog))) File "/etc/cron.weekly/dconf", line 267, in diff fromfd = dzopen(fromfile) File "/etc/cron.weekly/dconf", line 142, in dzopen return gzip.open(filename, arg) File "/usr/lib/python2.3/gzip.py", line 49, in open return GzipFile(filename, mode, compresslevel) File "/usr/lib/python2.3/gzip.py", line 94, in __init_...
2008 Aug 26
4
Samba write performance in kernel
hi, I would like to know is it possible to make writing file to samba completely in kernel? I'm using a slow CPU (FA526) , and the memory copy is even slower. The reading performance is over 7 MB/s, with mmap and sendfile enabled, while writing is only 4-5 MB/s. Without mmap and sendfile, reading from samba is also about 4-5 MB/s. I use Oprofile to profile writing file to samba and found