On 5/23/14, 12:22 AM, Niu Yawei wrote: > 于 2014/5/23 12:02, Eric Sandeen 写道: >> On 5/22/14, 5:47 AM, Niu Yawei wrote: >>> There are several global locks in the VFS quota code which hurts >>> performance a lot when quota accounting enabled, dqptr_sem is the major one. >>> >>> This patch tries to make the VFS quota code scalable with minimal changes. >>> >>> Following tests (mdtest & dbench) were running over ext4 fs in a >>> centos6.5 vm (8 cpus, 4G mem, kenrel: 3.15.0-rc5+), and the result shows >>> the patch relieved the lock congestion a lot. >>> >> Just noticed this patch - FWIW, Lustre has a >> "quota-replace-dqptr-sem-sles11sp2.patch" that they apply: > Yes, I'm Lustre developer and trying to push the patch upstream. :) I'm sorry. I took a quick glance at both and somehow didn't realize they were the same. That's what I get for sending emails too late at night. Sorry for the noise! Carry on... ;) And thanks for doing this! -Eric -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html