diff options
author | Kent Overstreet <koverstreet@google.com> | 2011-09-22 04:43:05 (GMT) |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-03-23 22:53:52 (GMT) |
commit | 84759c6d18c5144432781ddca037d929ee9db8a5 (patch) | |
tree | a2f7507dbd760ad87d607c9e80a4c79d96222502 /kernel/bounds.c | |
parent | a937536b868b8369b98967929045f1df54234323 (diff) | |
download | linux-fsl-qoriq-84759c6d18c5144432781ddca037d929ee9db8a5.tar.xz |
Revert "rw_semaphore: remove up/down_read_non_owner"
This reverts commit 11b80f459adaf91a712f95e7734a17655a36bf30.
Bcache needs rw semaphores for cache coherency in writeback mode -
writes have to take a read lock on a per cache device rw sem, and
release it when the bio completes.
But since this is for bios it's naturally not in the context of the
process that originally took the lock.
Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Christoph Hellwig <hch@infradead.org>
CC: David Howells <dhowells@redhat.com>
Diffstat (limited to 'kernel/bounds.c')
0 files changed, 0 insertions, 0 deletions