Bug 172196
Summary: | Missing files when listing an NT4 share | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Bastien Nocera <bnocera> | ||||||||||
Component: | kernel | Assignee: | Peter Staubach <staubach> | ||||||||||
Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 3.0 | CC: | jbaron, lwang, peterm, petrides | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | --- | ||||||||||||
Hardware: | All | ||||||||||||
OS: | Linux | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2006-04-06 18:45:07 UTC | Type: | --- | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Bug Depends On: | |||||||||||||
Bug Blocks: | 170417, 186960 | ||||||||||||
Attachments: |
|
Description
Bastien Nocera
2005-11-01 14:25:52 UTC
Created attachment 120602 [details]
rhel3-smbfs-mdata.patch
Created attachment 121584 [details]
linux-2.4.21-smbfs-wrong-packet-size.patch
With correct spacing
We had negative feedback on this patch. I'm currently testing it again. Created attachment 121677 [details]
test-smbfs.pl
Test case. Creates loads of files with long names.
I modified the script to create 900 files (instead of 7000) of 35 characters filename lengths. On a local filesystem: $ mkdir test $ cd test $ ../test-smbfs.pl 35 $ ls -1 | wc -l 900 $ uname -r 2.4.21-37.8.EL $ sudo mount -t smbfs -o username=Administrator,password=redhat //win2k/smbfs /mnt/smb/ $ cd /mnt/smb $ sudo ~/test-smbfs.pl 35 $ ls -1 | wc -l 1019 [and more of those] $ ls -1 | sort | uniq | wc -l 900 It appears that some files are duplicated in the listing. $ mkdir smbfs $ cd smbfs $ cp -a /usr/src/linux-`uname -r`/fs/smbfs/* . $ cp -a ~/Makefile . $ wget "https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=121584" $ patch < attachment.cgi\?id\=121584 patching file sock.c $ make $ sudo /sbin/rmmod smbfs rmmod: module smbfs is not loaded $ sudo insmod ./smbfs.o $ sudo mount -t smbfs -o username=Administrator,password=redhat //win2k/smbfs /mnt/smb/ $ cd /mnt/smb/ $ sudo ~/test-smbfs.pl 35 $ ls -1 | wc -l 796 $ ls -1 | wc -l 796 $ ls -1 | wc -l 900 [And 900 from then on] Created attachment 121683 [details]
Makefile
Makefile used to compile smbfs out-of-tree
The kernel tested was a 2.4.21-37.8.EL on an em64t machine. The Windows machine was a stock Windows 2000 Server. |