Project

General

Profile

Bug #919 » illumos-919.diff

Gordon Ross, 2011-04-18 10:28 AM

View differences:

usr/src/uts/common/fs/smbclnt/netsmb/smb_smb.c Wed Apr 13 13:20:10 2011 +0400 → usr/src/uts/common/fs/smbclnt/netsmb/smb_smb.c Mon Apr 18 14:24:00 2011 -0400
72 72
 * Make these tunable (only via mdb for now).
73 73
 */
74 74
int smb_timo_notice = 15;
75
int smb_timo_default = 30;	/* was SMB_DEFRQTIMO */
75
int smb_timo_default = 45;	/* was SMB_DEFRQTIMO */
76 76
int smb_timo_open = 45;
77 77
int smb_timo_read = 45;
78 78
int smb_timo_write = 60;	/* was SMBWRTTIMO */
usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c Wed Apr 13 13:20:10 2011 +0400 → usr/src/uts/common/fs/smbclnt/smbfs/smbfs_smb.c Mon Apr 18 14:24:00 2011 -0400
713 713
	smb_rq_wend(rqp);
714 714
	smb_rq_bstart(rqp);
715 715
	smb_rq_bend(rqp);
716
	error = smb_rq_simple(rqp);
716
	error = smb_rq_simple_timed(rqp, smb_timo_write);
717 717
	smb_rq_done(rqp);
718 718
	if (!error) {
719 719
		mutex_enter(&np->r_statelock);
    (1-1/1)