syslet: add proper read barrier between user_tail and completion read
authorJens Axboe <jens.axboe@oracle.com>
Tue, 11 Dec 2007 07:55:53 +0000 (08:55 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 11 Dec 2007 07:55:53 +0000 (08:55 +0100)
commitdb6defc77508f5bf217f0a6768d13426eee21119
treed7259b39b58ccbd1f2a64965eddcace9af5ff7b3
parentc6effc3eb105f74777198ef6ac0f8ea2ba512a9b
syslet: add proper read barrier between user_tail and completion read

Also fixup a bug with ring indexing, it needs to use the real ring size
mask, not the io depth.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
arch/arch-alpha.h
arch/arch-ia64.h
arch/arch-ppc.h
arch/arch-s390.h
arch/arch-x86.h
arch/arch-x86_64.h
engines/syslet-rw.c