Does smbfs use 1 socket per target?

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

 



I'm sorry if this is a vague question, but I hope someone can correct
or affirm my understanding of smbfs socket behavior.

I read in the mount.cifs manpage for the "port=" option that it will
use an existing connection to that port. So does this mean that
regardless of how many files might be concurrently open on a single
share, regardless how many processes are executing I/O requests, smbfs
multiplexes all associated I/O blocks through the same single TCP
connection?

Is it a persistent connection for as long as the mount exists? (i.e.
I'm using an fstab entry) Granted I know how to use netstat, but
hoping someone might note something authoritative.

Can I infer that if I have 5 fstab entries to unique hosts, and mount
-a, I'll have 5 outbound TCP connections?

Thanks!
- Matthew
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux