quota: Make quota stat accounting lockless.
Quota stats is mostly writable data structure. Let's alloc percpu
bucket for each value.
NOTE: dqstats_read() function is racy against dqstats_{inc,dec}
and may return inconsistent value. But this is ok since absolute
accuracy is not required.
Signed-off-by:
Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by:
Jan Kara <jack@suse.cz>
Loading
Please register or sign in to comment