Whamcloud - gitweb
LU-4285 kernel: fix uninitialized access of quota got[] array
[fs/lustre-release.git] / lustre / kernel_patches / patches / quota-avoid-dqget-calls.patch
index 83d0272..0a0c6cc 100644 (file)
@@ -1,3 +1,7 @@
+In dquot_initialize(), we'd call dqget() only when i_dquot not
+initialized, which can avoid 2 pair of dqget()/dqput() in most
+case. It could relieve the global locks contenion caused by
+dqget()/dqput().
 Index: linux-2.6.32-358.0.1.el6/fs/quota/dquot.c
 ===================================================================
 --- linux-2.6.32-358.0.1.el6.orig/fs/quota/dquot.c