aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorGreg Farnum <gregf@hq.newdream.net>2010-09-17 10:24:02 -0700
committerSage Weil <sage@newdream.net>2010-10-20 15:38:17 -0700
commitfca4451acfdcf894154e4809529ca28a09db88ff (patch)
tree446381c8e8c7b592b47c2e50c32b1e40817fcfe1 /kernel/workqueue.c
parentceph: add pagelist_reserve, pagelist_truncate, pagelist_set_cursor (diff)
downloadlinux-rng-fca4451acfdcf894154e4809529ca28a09db88ff.tar.xz
linux-rng-fca4451acfdcf894154e4809529ca28a09db88ff.zip
ceph: preallocate flock state without locks held
When the lock_kernel() turns into lock_flocks() and a spinlock, we won't be able to do allocations with the lock held. Preallocate space without the lock, and retry if the lock state changes out from underneath us. Signed-off-by: Greg Farnum <gregf@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions