summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2017-06-08 16:00:20 +0300
committerJan Kara <jack@suse.cz>2017-08-17 19:56:07 +0300
commit62676838cb39f4e4f44dd697c4d5d4214bda8cb1 (patch)
tree79460ae1e1a4703ab739915d6e821661d9493780 /COPYING
parentbc8230ee8e2ba967af780cdaf2dcc0f8e5eb45ca (diff)
downloadlinux-62676838cb39f4e4f44dd697c4d5d4214bda8cb1.tar.xz
quota: Do more fine-grained locking in dquot_acquire()
We need dqio_sem held just for reading when calling ->read_dqblk() in dquot_acquire(). Also dqio_sem is not needed when setting DQ_READ_B and DQ_ACTIVE_B as concurrent reads and dquot activations are serialized by dq_lock. So acquire and release dqio_sem closer to the place where it is needed. This reduces lock hold time and will make locking changes easier. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions