Bug 765340 (GLUSTER-3608) - Move mem-pool creation for rb-tree hash entries into init.
Summary: Move mem-pool creation for rb-tree hash entries into init.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-3608
Product: GlusterFS
Classification: Community
Component: io-cache
Version: mainline
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
Assignee: Raghavendra G
QA Contact: Anush Shetty
URL:
Whiteboard:
Depends On:
Blocks: 817967
TreeView+ depends on / blocked
 
Reported: 2011-09-22 06:55 UTC by Raghavendra G
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

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)


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