]> bbs.cooldavid.org Git - net-next-2.6.git/commit
RDS: Add flag for silent ops. Do atomic op before RDMA
authorAndy Grover <andy.grover@oracle.com>
Tue, 2 Mar 2010 00:10:40 +0000 (16:10 -0800)
committerAndy Grover <andy.grover@oracle.com>
Thu, 9 Sep 2010 01:12:06 +0000 (18:12 -0700)
commit2c3a5f9abb1dc5efdab8ba9a568b1661c65fd1e3
tree72b6a4c5298fecf46637987fd8ae42296dc90a97
parent7e3bd65ebfd5d6cd76b8b979920c632d6e6b4b2a
RDS: Add flag for silent ops. Do atomic op before RDMA

Add a flag to the API so users can indicate they want
silent operations. This is needed because silent ops
cannot be used with USE_ONCE MRs, so we can't just
assume silent.

Also, change send_xmit to do atomic op before rdma op if
both are present, and centralize the hairy logic to determine if
we want to attempt silent, or not.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
include/linux/rds.h
net/rds/rdma.c
net/rds/rds.h
net/rds/send.c