Red Hat Bugzilla – Bug 765340
Move mem-pool creation for rb-tree hash entries into init.
Last modified: 2015-12-01 11:45:32 EST
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()
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 (firstname.lastname@example.org)
Need this for master branch too.
please send the patch to master branch too, ASAP.
CHANGE: http://review.gluster.com/2895 (performance/io-cache: move mem-pool initialisation to init.) merged in master by Vijay Bellur (email@example.com)