All of lore.kernel.org
 help / color / mirror / Atom feed
* [net-next][PATCH v2 0/2] rds: handle unsupported rdma request to fs dax memory
@ 2019-04-29 23:37 Santosh Shilimkar
  2019-04-29 23:37 ` [net-next][PATCH v2 1/2] " Santosh Shilimkar
  2019-04-29 23:37 ` [net-next][PATCH v2 2/2] rds: add sysctl for rds support of On-Demand-Paging Santosh Shilimkar
  0 siblings, 2 replies; 28+ messages in thread
From: Santosh Shilimkar @ 2019-04-29 23:37 UTC (permalink / raw)
  To: netdev, davem; +Cc: santosh.shilimkar

RDS doesn't support RDMA on memory apertures that require On Demand
Paging (ODP), such as FS DAX memory. User applications can try to use
RDS to perform RDMA over such memories and since it doesn't report any
failure, it can lead to unexpected issues like memory corruption when
a couple of out of sync file system operations like ftruncate etc. are
performed.

The patch adds a check so that such an attempt to RDMA to/from memory
apertures requiring ODP will fail. A sysctl is added to indicate
whether RDMA on ODP memory is supported.


Hans Westgaard Ry (1):
  rds: handle unsupported rdma request to fs dax memory

Santosh Shilimkar (1):
  rds: add sysctl for rds support of On-Demand-Paging

 net/rds/ib.h        | 1 +
 net/rds/ib_sysctl.c | 8 ++++++++
 net/rds/rdma.c      | 5 +++--
 3 files changed, 12 insertions(+), 2 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2019-05-10 20:39 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-29 23:37 [net-next][PATCH v2 0/2] rds: handle unsupported rdma request to fs dax memory Santosh Shilimkar
2019-04-29 23:37 ` [net-next][PATCH v2 1/2] " Santosh Shilimkar
2019-05-01  7:44   ` Leon Romanovsky
2019-05-01 17:54     ` Santosh Shilimkar
2019-05-02  6:21       ` Leon Romanovsky
2019-05-02 17:52         ` Santosh Shilimkar
2019-05-05  6:28           ` Leon Romanovsky
2019-05-06 16:39             ` Santosh Shilimkar
2019-05-10 12:54   ` Jason Gunthorpe
2019-05-10 16:11     ` Santosh Shilimkar
2019-05-10 17:55       ` Jason Gunthorpe
2019-05-10 18:02         ` santosh.shilimkar
2019-05-10 18:07           ` Jason Gunthorpe
2019-05-10 18:58             ` santosh.shilimkar
2019-05-10 19:20               ` Jason Gunthorpe
2019-05-10 19:38                 ` Santosh Shilimkar
2019-05-10 19:47                   ` Jason Gunthorpe
2019-05-10 20:12                     ` Santosh Shilimkar
2019-05-10 20:39                       ` Jason Gunthorpe
2019-04-29 23:37 ` [net-next][PATCH v2 2/2] rds: add sysctl for rds support of On-Demand-Paging Santosh Shilimkar
2019-05-01  7:45   ` Leon Romanovsky
2019-05-01 17:54     ` Santosh Shilimkar
2019-05-02  6:18       ` Leon Romanovsky
2019-05-02 17:59         ` Santosh Shilimkar
2019-05-05  6:22           ` Leon Romanovsky
2019-05-06 16:37             ` Santosh Shilimkar
2019-05-10 13:02   ` Jason Gunthorpe
2019-05-10 16:13     ` Santosh Shilimkar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.