Bug 765340 (GLUSTER-3608)

Summary: Move mem-pool creation for rb-tree hash entries into init.
Product: [Community] GlusterFS Reporter: Raghavendra G <raghavendra>
Component: io-cacheAssignee: Raghavendra G <rgowdapp>
Status: CLOSED CURRENTRELEASE QA Contact: Anush Shetty <ashetty>
Severity: medium Docs Contact:
Priority: high    
Version: mainlineCC: amarts, gluster-bugs, rfortier
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:13:02 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: 817967    

Description Raghavendra G 2011-09-22 06:55:15 UTC
As reported by pavan,

Any particular reason why the mempool etc are being initialized in
readv()? Shouldn't they be allocated in init?

The current code leads to two unnecessary lock/unlock calls in readv()

Pavan

Comment 1 Anand Avati 2011-10-01 09:56:45 UTC
CHANGE: http://review.gluster.com/484 (  - mem-pool is global structure which is stored in ioc-inode-table and hence) merged in release-3.2 by Vijay Bellur (vijay)

Comment 2 Amar Tumballi 2011-12-08 07:39:22 UTC
Need this for master branch too.

Comment 3 Amar Tumballi 2012-02-28 03:25:28 UTC
please send the patch to master branch too, ASAP.

Comment 4 Anand Avati 2012-03-08 17:10:09 UTC
CHANGE: http://review.gluster.com/2895 (performance/io-cache: move mem-pool initialisation to init.) merged in master by Vijay Bellur (vijay)