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
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)
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 (vijay)