[PATCH] Fix bug 9412 - SMB2 server doesn't support recvfile.

Jones jones.kstw at gmail.com
Tue Apr 8 19:53:34 MDT 2014


2014-04-08 15:55 GMT+08:00 Volker Lendecke <Volker.Lendecke at sernet.de>:

> There's a set of syscalls I don't quite understand:
>
> poll([{fd=6, events=POLLIN|POLLHUP}, {fd=10, events=POLLIN|POLLHUP},
> {fd=30, events=POLLIN|POLLHUP, revents=POLLIN}, {fd=31,
> events=POLLIN|POLLHUP, revents=POLLIN}], 4, 1989) = 2
> ioctl(30, FIONREAD, [32])               = 0
> read(30, "\1\0\0\0\2\0\0\0\0\0\0\0\20\0\0\0iobw.tst\0\0\0\0\0\0\0"..., 32)
> = 32
> gettimeofday({1396527541, 800061}, NULL) = 0
> gettimeofday({1396527541, 800077}, NULL) = 0
>
> This comes in after every write call (that by the way
> translates into normal read/write syscalls, which seems not
> very efficient). There is no hint what fd 30 is, my
> assumption is that it is inotify. Can you try setting
> "kernel change notify = no" just for a test to see if it
> makes a difference?


Sure,
i would like to try lsof, perhaps help specify the fd meaning,
and attach the result later, thanks.

-- 
Regards,
Jones


More information about the samba-technical mailing list