net/rds: Detect need of On-Demand-Paging memory registration
authorHans Westgaard Ry <hans.westgaard.ry@oracle.com>
Wed, 15 Jan 2020 12:43:38 +0000 (14:43 +0200)
committerLeon Romanovsky <leonro@mellanox.com>
Thu, 16 Jan 2020 14:15:25 +0000 (16:15 +0200)
commitc4c86abb3f9fb3d5bc113fb996298a30ec63e07b
tree0ddcab9dcd5cca8eb1cc6656e353b8dc6c3efbe6
parent8ffc32485158528f870b62707077ab494ba31deb
net/rds: Detect need of On-Demand-Paging memory registration

Add code to check if memory intended for RDMA is FS-DAX-memory. RDS
will fail with error code EOPNOTSUPP if FS-DAX-memory is detected.

Signed-off-by: Hans Westgaard Ry <hans.westgaard.ry@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
net/rds/rdma.c