Bug 200380

Summary: Duplicate smbfs mounts also duplicates memory usage per daemon.
Product: Red Hat Enterprise Linux 3 Reporter: Jose Plans <jplans>
Component: sambaAssignee: Jay Fenlason <fenlason>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0CC: jfeeney, jplans
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-12-19 20:40:56 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:
Attachments:
Description Flags
avoid duplicate smbfs mount point.
none
samba-3.0.9-smbmnt_duplicates.patch none

Description Jose Plans 2006-07-27 11:07:11 UTC
Description of problem:

  Even if that is the wrong thing to do. Mounting N times the same share on the
same mount point produces N allocations of N smbmount daemons.
 
   % mount -t smbfs //host/share /mnt/smbfs
   % mount -t smbfs //host/share /mnt/smbfs
   % mount -t smbfs //host/share /mnt/smbfs
   % mount -t smbfs //host/share /mnt/smbfs

  This will show up as 4 processes with about the equal amount of memory allocated. 

Version-Release number of selected component (if applicable):
samba-client-3.0.9-1.3E.9

How reproducible:
Always.

Steps to Reproduce:
1. mount -t smbfs several times from same share to same mount point.
  
Actual results:
several deamons are used for a single ones task.

Expected results:
Only one daemon as CIFS (kernel thread in this case) performing the operation.

Additional info:
I'm not sure if that is by design tho, but at least it shouldn't allocate memory
for each smbmnt operation.

Comment 2 Jose Plans 2006-07-27 11:13:00 UTC
Created attachment 133141 [details]
avoid duplicate smbfs mount point.

Comment 3 Jose Plans 2006-08-05 17:07:32 UTC
Created attachment 133694 [details]
samba-3.0.9-smbmnt_duplicates.patch

Comment 6 RHEL Program Management 2006-12-19 20:40:56 UTC
Product Management has reviewed and declined this request.  You may appeal this
decision by reopening this request.