Bug 200380 - Duplicate smbfs mounts also duplicates memory usage per daemon.
Summary: Duplicate smbfs mounts also duplicates memory usage per daemon.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: samba
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jay Fenlason
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-27 11:07 UTC by Jose Plans
Modified: 2014-08-31 23:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-19 20:40:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
avoid duplicate smbfs mount point. (2.38 KB, patch)
2006-07-27 11:13 UTC, Jose Plans
no flags Details | Diff
samba-3.0.9-smbmnt_duplicates.patch (2.34 KB, patch)
2006-08-05 17:07 UTC, Jose Plans
no flags Details | Diff

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. 


Note You need to log in before you can comment on or make changes to this bug.