mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton@redhat.com>
To: Christoph Lameter <cl@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org, samba@lists.samba.org,
	linux-cifs-client@lists.samba.org
Subject: Re: 2.6.31-rc8: CIFS with 5 seconds hiccups
Date: Sat, 5 Sep 2009 07:10:52 -0400	[thread overview]
Message-ID: <20090905071052.50501826@tlielax.poochiereds.net> (raw)
In-Reply-To: <alpine.DEB.1.10.0909041217520.7209@V090114053VZO-1>

On Fri, 4 Sep 2009 12:27:35 -0400 (EDT)
Christoph Lameter <cl@linux-foundation.org> wrote:

> This is on 32 bit x86 on a Dell 1950
> 
> After mouting a cifs share we have 5 second hiccups. Typical log output
> when doing a simple "ls /mnt":
> 
> Sep  4 16:21:43 rd-spare kernel:  fs/cifs/transport.c: For smb_command 50
> Sep  4 16:21:43 rd-spare kernel:  fs/cifs/transport.c: Sending smb:
> total_len 118
> Sep  4 16:21:43 rd-spare kernel:  fs/cifs/inode.c: CIFS VFS: leaving
> cifs_revalidate (xid = 258) rc = 0
> Sep  4 16:21:43 rd-spare kernel:  fs/cifs/dir.c: CIFS VFS: in cifs_lookup
> as Xid: 263 with uid: 0
> Sep  4 16:21:43 rd-spare kernel:  fs/cifs/dir.c: parent inode = 0xf58d2e60
> name is: AutoWire.bmp and dentry = 0xf5adb63c
> Sep  4 16:21:43 rd-spare kernel:  fs/cifs/dir.c: NULL inode in lookup
> Sep  4 16:21:43 rd-spare kernel:  fs/cifs/dir.c: Full path: \AutoWire.bmp
> inode = 0x(null)
> Sep  4 16:21:43 rd-spare kernel:  fs/cifs/inode.c: Getting info on \AutoWire.bmp
> Sep  4 16:21:43 rd-spare kernel:  fs/cifs/transport.c: For smb_command 50
> Sep  4 16:21:43 rd-spare kernel:  fs/cifs/transport.c: Sending smb:  total_len 104
> 
>  ---- 5 second hiccup
> 
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/connect.c: rfc1002 length 0xce
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/connect.c: rfc1002 length 0xc0

(adding linux-cifs-client mailing list)

It looks like it's just taking 5s for the server to respond here. Do
you happen to have a wire capture of one of these events? That may tell
us more than cifsFYI info...

> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/inode.c: inode 0xf5876518 old_time=26000 new_time=32751
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/inode.c: cifs_revalidate - inode unchanged
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/file.c: CIFS VFS: in cifs_writepages as Xid: 264 with uid: 0
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/file.c: CIFS VFS: leaving cifs_writepages (xid = 264) rc = 0
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 262) rc = 0
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 265 with uid: 0
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/inode.c: Revalidate: \Akamai Headsets.doc inode 0xf5876518 count 2 dentry: 0xf5ada8d0 d_time 260
> 00 jiffies 32751
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/inode.c: CIFS VFS: leaving cifs_revalidate (xid = 265) rc = 0
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 266 with uid: 0
> Sep  4 16:21:48 rd-spare kernel:  fs/cifs/inode.c: Revalidate: \Akamai Headsets.doc inode 0xf5876518 count 2 dentry: 0xf5ada8d0 d_time 260
> 00 jiffies 32751
> 
> 
> This is happening intermittently on a variety of hosts.
> 
> cat /proc/fs/cifs/DebugData
> 
> Display Internal CIFS Data Structures for Debugging
> ---------------------------------------------------
> CIFS Version 1.60
> Active VFS Requests: 2
> Servers:
> 1) Name: 10.2.4.64  Domain: W2K Uses: 1 OS: Windows Server 2003 R2 3790
> Service Pack 2
> 	NOS: Windows Server 2003 R2 5.2	Capability: 0x1f3fd
> 	SMB session status: 1	TCP status: 1
> 	Local Users To Server: 1 SecMode: 0x3 Req On Wire: 2
> 	Shares:
> 	1) \\chiprodfs2\company Mounts: 1 Type: NTFS DevInfo: 0x20
> Attributes: 0x700ff
> PathComponentMax: 255 Status: 0x1 type: DISK
> 
> 	MIDs:
> 	State: 2 com: 50 pid: 5951 tsk: f756d1b0 mid 277
> 	State: 2 com: 50 pid: 6044 tsk: f69d4760 mid 278
> 
> cat /proc/fs/cifs/Stats
> 
> Resources in use
> CIFS Session: 1
> Share (unique mount targets): 1
> SMB Request/Response Buffer: 5 Pool size: 5
> SMB Small Req/Resp Buffer: 1 Pool size: 30
> Operations (MIDs): 2
> 
> 0 session 0 share reconnects
> Total vfs operations: 525 maximum at one time: 3
> 
> 1) \\chiprodfs2\company
> SMBs: 305 Oplock Breaks: 0
> Reads:  0 Bytes: 0
> Writes: 0 Bytes: 0
> Flushes: 0
> Locks: 0 HardLinks: 0 Symlinks: 0
> Opens: 0 Closes: 0 Deletes: 0
> Posix Opens: 0 Posix Mkdirs: 0
> Mkdirs: 0 Rmdirs: 0
> Renames: 0 T2 Renames 0
> FindFirst: 2 FNext 0 FClose 0
> 
> 
> What is this ???
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 


-- 
Jeff Layton <jlayton@redhat.com>

  reply	other threads:[~2009-09-05 11:11 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-04 16:27 Christoph Lameter
2009-09-05 11:10 ` Jeff Layton [this message]
2009-09-09 16:33   ` Christoph Lameter
2009-09-09 16:53     ` Jeff Layton
2009-09-09 17:07       ` Christoph Lameter
2009-09-09 17:20         ` Jeff Layton
2009-09-09 17:28           ` Christoph Lameter
2009-09-09 18:02             ` Jeff Layton
2009-09-09 21:27               ` Christoph Lameter
2009-09-10  0:55                 ` Jeff Layton
2009-09-10 18:53                   ` Christoph Lameter
2009-09-10 19:33                     ` Jeff Layton
2009-09-10 19:42                       ` Christoph Lameter
2009-09-10 20:57                         ` Jeff Layton
2009-09-10 21:27                           ` Christoph Lameter
2009-09-11  0:19                             ` Jeff Layton
2009-09-14 20:10                               ` Christoph Lameter
2009-09-15 22:34                                 ` Jeff Layton
2009-09-16 16:26                                   ` Christoph Lameter
2009-09-18 14:24                                     ` Jeff Layton
2009-09-14 20:16                               ` (64 bit dump) " Christoph Lameter
2009-09-10 21:42                           ` Christoph Lameter
2009-09-09 17:33           ` Christoph Lameter
2009-09-09 17:57             ` Jeff Layton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090905071052.50501826@tlielax.poochiereds.net \
    --to=jlayton@redhat.com \
    --cc=cl@linux-foundation.org \
    --cc=linux-cifs-client@lists.samba.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=samba@lists.samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®