Bug 1306915 - Huge logging in samba client logs while running I/O's from Linux cifs client
Summary: Huge logging in samba client logs while running I/O's from Linux cifs client
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: samba
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: rhs-smb@redhat.com
QA Contact: Vivek Das
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-12 07:42 UTC by surabhi
Modified: 2018-06-18 15:11 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-18 15:11:27 UTC
Embargoed:


Attachments (Terms of Use)

Description surabhi 2016-02-12 07:42:04 UTC
Description of problem:
*******************************

When running basic fops cases from Linux cifs mount , the samba client logs shows
huge logging as follows. It is logging for each of the dir/files and filling up client logs.

[2016-02-12 04:16:55.012381] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a24/b41 with [Subvol_name: test
vol-replicate-0, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], 
[2016-02-12 04:16:55.378269] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a24/b42 with [Subvol_name: test
vol-replicate-0, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], 
[2016-02-12 04:16:55.745156] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a24/b43 with [Subvol_name: test
vol-replicate-0, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], 
[2016-02-12 04:16:56.086611] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a24/b44 with [Subvol_name: test
vol-replicate-0, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], 
[2016-02-12 04:16:56.455723] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a24/b45 with [Subvol_name: test
vol-replicate-0, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], 
[2016-02-12 04:16:56.824333] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a24/b46 with [Subvol_name: test
vol-replicate-0, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], 
[2016-02-12 04:16:57.194660] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a24/b47 with [Subvol_name: test
vol-replicate-0, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], 
[2016-02-12 04:16:57.558488] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a24/b48 with [Subvol_name: test
vol-replicate-0, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], 
[2016-02-12 04:16:57.924533] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a24/b49 with [Subvol_name: test
vol-replicate-0, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], 
[2016-02-12 04:16:58.277151] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a24/b50 with [Subvol_name: test
vol-replicate-0, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], 
[2016-02-12 04:16:58.613164] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a25 with [Subvol_name: testvol-
replicate-0, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], 
[2016-02-12 04:16:58.657578] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a25/b1 with [Subvol_name: testv
ol-replicate-0, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], 
[2016-02-12 04:16:59.013375] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a25/b2 with [Subvol_name: testv
ol-replicate-0, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], 
[2016-02-12 04:16:59.392408] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a25/b3 with [Subvol_name: testv
ol-replicate-0, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], 
[2016-02-12 04:16:59.747840] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a25/b4 with [Subvol_name: testv
ol-replicate-0, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], 
[2016-02-12 04:17:00.096701] I [MSGID: 109036] [dht-common.c:7957:dht_log_new_layout_for_dir_selfheal] 0-testvol-dht: Setting layout of /a25/b5 with [Subvol_name: testv
ol-replicate-0, Err: -1 , Start: 2147483647 , Stop: 4294967295 , Hash: 1 ], [Subvol_name: testvol-replicate-1, Err: -1 , Start: 0 , Stop: 2147483646 , Hash: 1 ], 



Version-Release number of selected component (if applicable):
samba-4.2.4-12.el7rhgs.x86_64
glusterfs-3.7.5-19.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
Mount the samba share on cifs client:
Run I/o's as follows
for i in {1..10}; do mkdir ./d$i; done
for j in {1..10}; do touch ./d/f$j; done
 for i in {1..25}; do mkdir ./a$i;  "
               "for j in {1..50}; do mkdir ./a$i/b$j;"
               "for k in {1..10}; do touch ./a$i/b$j/c$k



Actual results:
Huge logging in samba-client logs for each fop with err -1.

Expected results:
Logging could be reduced.

Additional info:

Comment 2 Ira Cooper 2016-02-14 07:35:52 UTC
what mount options were used here?

(Output of the mount command on the client please.)

Comment 4 Vivek Das 2018-06-18 14:19:53 UTC
Followed the steps to reproduce and unable to reproduce the issue.
Steps to Reproduce:
Mount the samba share on cifs client:
Run I/o's as follows
for i in {1..10}; do mkdir ./d$i; done
for j in {1..10}; do touch ./d/f$j; done
 for i in {1..25}; do mkdir ./a$i;  "
               "for j in {1..50}; do mkdir ./a$i/b$j;"
               "for k in {1..10}; do touch ./a$i/b$j/c$k

Version
glusterfs-3.12.2-10.el7rhgs.x86_64
samba-4.7.5-103.el7rhgs.x86_64


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