RE: systemd and RDMA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you the helpful response,
Looks like we have all info to create this change
I will push new PR soon 

Adir

-----Original Message-----
From: Sage Weil [mailto:sage@xxxxxxxxxxxx] 
Sent: Thursday, February 23, 2017 4:26 PM
To: Adir Lev <adirl@xxxxxxxxxxxx>
Cc: ceph-devel@xxxxxxxxxxxxxxx; kefu chai <tchaikov@xxxxxxxxx>
Subject: Re: systemd and RDMA

On Thu, 23 Feb 2017, Adir Lev wrote:
> Hi Cephers,
> 
> In order to use systemctl with RDMA messenger we need to make few 
> changes to /etc/systemd/system/ 1. Set PrivateDevices=no 2. Set 
> LimitMEMLOCK=infinity see PR: https://github.com/ceph/ceph/pull/13305
> 
> I got few rejects suggesting to change those params only when actually using RDMA.
> Since systemd scripts are the first to run we cannot check it in ceph code.
> 
> Any suggestion on how to check messenger type and set PrivateDevices 
> and LimitMEMLOCK accordingly?

Hmm, is it possible to make them conditional on something in /etc/{sysconfig,default}/ceph?  Then an RDMA user would just need to comment in a line like ENABLE_RDMA=1 or something...

sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux