Re: [PATCH 4/4] cifs: Reformat DebugData and index connections by conn_id.

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

 



I noticed that the output looks rather odd when used with multichannel.
Attaching a revised patch with the changes.

Also attached a sample of new output.

Regards,
Shyam

On Mon, Feb 8, 2021 at 3:36 AM Aurélien Aptel <aaptel@xxxxxxxx> wrote:
>
> Steve French <smfrench@xxxxxxxxx> writes:
> > the multiline strings if they make it more readable are fine (probably
> > fine here), so can ignore
> >   "quoted string split across lines"
> > warning
>
> Agreed
>
> Reviewed-by: Aurelien Aptel <aaptel@xxxxxxxx>
>
> --
> Aurélien Aptel / SUSE Labs Samba Team
> GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
> SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE
> GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München)
>


-- 
Regards,
Shyam
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 2.30
Features: DFS,FSCACHE,STATS,DEBUG,ALLOW_INSECURE_LEGACY,WEAK_PW_HASH,CIFS_POSIX,UPCALL(SPNEGO),XATTR,ACL
CIFSMaxBufSize: 16384
Active VFS Requests: 6

Servers: 
1) ConnectionId: 0x1 
Number of credits: 326 Dialect 0x311
TCP status: 1 Instance: 1
Local Users To Server: 1 SecMode: 0x1 Req On Wire: 0
In Send: 0 In MaxReq Wait: 0

	Sessions: 
	1) Name: 10.229.158.38 Uses: 1 Capability: 0x300077	Session Status: 1 
	Security type: RawNTLMSSP  SessionId: 0x7c0014000049
	User: 1000 Cred User: 0

	Extra Channels: 3 

		Channel: 2 ConnectionId: 0x5
		Number of credits: 130 Dialect 0x311
		TCP status: 1 Instance: 1
		Local Users To Server: 1 SecMode: 0x1 Req On Wire: 0
		In Send: 0 In MaxReq Wait: 0

		Channel: 3 ConnectionId: 0x6
		Number of credits: 130 Dialect 0x311
		TCP status: 1 Instance: 1
		Local Users To Server: 1 SecMode: 0x1 Req On Wire: 0
		In Send: 0 In MaxReq Wait: 0

		Channel: 4 ConnectionId: 0x7
		Number of credits: 130 Dialect 0x311
		TCP status: 1 Instance: 1
		Local Users To Server: 1 SecMode: 0x1 Req On Wire: 0
		In Send: 0 In MaxReq Wait: 0

	Shares: 
	0) IPC: \\10.229.158.38\IPC$ Mounts: 1 DevInfo: 0x0 Attributes: 0x0
	PathComponentMax: 0 Status: 1 type: 0 Serial Number: 0x0
	Share Capabilities: None	Share Flags: 0x30
	tid: 0x1	Maximal Access: 0x11f01ff

	1) \\10.229.158.38\shyam_xfstests Mounts: 1 DevInfo: 0x20020 Attributes: 0xc706ff
	PathComponentMax: 255 Status: 1 type: DISK Serial Number: 0xd4723975
	Share Capabilities: None Aligned, Partition Aligned,	Share Flags: 0x0
	tid: 0x5	Optimal sector size: 0x1000	Maximal Access: 0x1f01ff


	Server interfaces: 6
	1)	Speed: 10000000000 bps
		Capabilities: rss 
		IPv4: 169.254.0.1

	2)	Speed: 10000000000 bps
		Capabilities: rss 
		IPv6: fe80:0000:0000:0000:18b4:f0d6:2cf9:200f

	3)	Speed: 1000000000 bps
		Capabilities: rss 
		IPv6: fe80:0000:0000:0000:dc9a:7f8b:57aa:14ac

	4)	Speed: 1000000000 bps
		Capabilities: rss 
		IPv4: 10.229.158.38
		[CONNECTED]

	5)	Speed: 1000000000 bps
		Capabilities: rss 
		IPv4: 169.254.20.172

	6)	Speed: 1000000000 bps
		Capabilities: rss 
		IPv6: fe80:0000:0000:0000:0085:1b73:dda4:2851


	MIDs: 
--

Attachment: 0004-cifs-Reformat-DebugData-and-index-connections-by-con.patch
Description: Binary data


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

  Powered by Linux