Bug 801391 - [5fdd65f5f4f5df1d28b0fb4f7efed226d5db1b3c] EINVAL during the graph change with quota enable/disable
Summary: [5fdd65f5f4f5df1d28b0fb4f7efed226d5db1b3c] EINVAL during the graph change wit...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: fuse
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Raghavendra G
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2012-03-08 12:31 UTC by Anush Shetty
Modified: 2013-07-24 17:21 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-24 17:21:27 UTC
Regression: ---
Mount Type: fuse
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Anush Shetty 2012-03-08 12:31:31 UTC
Description of problem: Was running dbench on a fuse client over a 2-brick distribute volume and doing graph change by enabling and disabling quota, the dbench process exited with EINVAL


How reproducible: Often


Steps to Reproduce:
1. while true; do dbench -s 10 -t 5; done
2. while true; do gluster volume quota test2 enable; sleep 1; gluster volume quota test2 disable --mode=script; sleep 1; done

  
Actual results:
Running for 5 seconds with load '/usr/share/dbench/client.txt' and minimum warmup 1 secs
9 of 10 processes prepared for launch   0 sec
10 of 10 processes prepared for launch   0 sec
releasing clients
  10        30     0.00 MB/sec  execute   1 sec  latency 1561.294 ms
  10        32     0.20 MB/sec  execute   2 sec  latency 2243.220 ms
[35] write failed on handle 9939 (Invalid argument)
Child failed with status 1
dbench version 4.00 - Copyright Andrew Tridgell 1999-2004



Additional info:

[2012-03-08 17:16:39.582867] D [socket.c:1807:socket_event_handler] 0-transport: disconnecting now
[2012-03-08 17:16:39.582893] W [client.c:2011:client_rpc_notify] 0-test2-client-1: Registering a grace timer
[2012-03-08 17:16:39.582913] I [client.c:2024:client_rpc_notify] 0-test2-client-1: disconnected
[2012-03-08 17:16:39.582933] D [fuse-bridge.c:4113:notify] 0-fuse: got event 6 on graph 0
[2012-03-08 17:16:39.584500] W [quota.c:916:quota_writev] 1-test2-quota: quota context not set in inode (gfid:660c10bc-4e16-487b-9378-db54596
91708)
[2012-03-08 17:16:39.596045] W [quota.c:916:quota_writev] 1-test2-quota: quota context not set in inode (gfid:367b846b-46a1-4cd3-972a-b84c10c
503c7)
[2012-03-08 17:16:39.596387] W [fuse-bridge.c:1997:fuse_writev_cbk] 0-glusterfs-fuse: 3586: WRITE => -1 (Invalid argument)
[2012-03-08 17:16:39.604221] W [quota.c:916:quota_writev] 1-test2-quota: quota context not set in inode (gfid:12cd728e-842a-4cf0-9d4d-57d6de8
32774)
[2012-03-08 17:16:39.604478] W [fuse-bridge.c:945:fuse_err_cbk] 0-glusterfs-fuse: 3618: FLUSH() ERR => -1 (Invalid argument)
[2012-03-08 17:16:39.605209] W [quota.c:916:quota_writev] 1-test2-quota: quota context not set in inode (gfid:7b665117-118d-45a0-86e3-aa4d827
08b39)
[2012-03-08 17:16:39.605451] W [fuse-bridge.c:945:fuse_err_cbk] 0-glusterfs-fuse: 3620: FLUSH() ERR => -1 (Invalid argument)
[2012-03-08 17:16:39.605655] W [quota.c:2146:quota_fstat_cbk] 1-test2-quota: quota context not set in inode (gfid:660c10bc-4e16-487b-9378-db5
459691708)
[2012-03-08 17:16:39.605963] W [fuse-bridge.c:945:fuse_err_cbk] 0-glusterfs-fuse: 3622: FLUSH() ERR => -1 (Invalid argument)
[2012-03-08 17:16:39.638101] D [dht-diskusage.c:88:dht_du_info_cbk] 1-test2-dht: on subvolume 'test2-client-1': avail_percent is: 94.00 and a
vail_space is: 96730677248 and avail_inodes is: 99.00

Comment 1 Amar Tumballi 2012-03-25 07:14:21 UTC
Check if its already fixed.

Comment 2 Anush Shetty 2012-03-26 05:12:27 UTC
Verified in 3.3.0qa30


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