summaryrefslogtreecommitdiffstats
path: root/sound/atmel
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-09-11 13:37:19 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-09-12 11:13:07 -0700
commit505a666ee3fc611518e85df203eb8c707995ceaa (patch)
treec4df72f1504a245d027e7c3c7617e3d08c0c7385 /sound/atmel
parent0ba13fd19d39b7cb672bcec052bc813389c079a4 (diff)
downloadlinux-505a666ee3fc611518e85df203eb8c707995ceaa.tar.gz
linux-505a666ee3fc611518e85df203eb8c707995ceaa.tar.bz2
linux-505a666ee3fc611518e85df203eb8c707995ceaa.zip
writeback: plug writeback in wb_writeback() and writeback_inodes_wb()
We had to revert the pluggin in writeback_sb_inodes() because the wb->list_lock is held, but we could easily plug at a higher level before taking that lock, and unplug after releasing it. This does that. Chris will run performance numbers, just to verify that this approach is comparable to the alternative (we could just drop and re-take the lock around the blk_finish_plug() rather than these two commits. I'd have preferred waiting for actual performance numbers before picking one approach over the other, but I don't want to release rc1 with the known "sleeping function called from invalid context" issue, so I'll pick this cleanup version for now. But if the numbers show that we really want to plug just at the writeback_sb_inodes() level, and we should just play ugly games with the spinlock, we'll switch to that. Cc: Chris Mason <clm@fb.com> Cc: Josef Bacik <jbacik@fb.com> Cc: Dave Chinner <david@fromorbit.com> Cc: Neil Brown <neilb@suse.de> Cc: Jan Kara <jack@suse.cz> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'sound/atmel')
0 files changed, 0 insertions, 0 deletions