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

Re: [PATCH 04/05] add common iscsi.py module

Jeremy Katz wrote:
On Mon, 2006-02-06 at 18:02 -0600, Mike Christie wrote:

Jeremy Katz wrote:

Mike -- any chance of getting this included so that shutdown of iscsid> can be much nicer?

It is on the TODO.

  It would be good for using in the initscript as

well.  Just killing processes like this is really bad for cases where
people are using chroots and, potentially in the future, other types of
containers like the openvz patches that were sent to lkml recently.

I don't think the "iscsid -k" patch is what we want. The -k argument meant that iscsid will run and cleanup running iscsi sessions in the kernel before stating normal operations.

Indeed, that doesn't sound quite like what's needed here.

Are we just looking for a way to shutdown the daemon or both daemon and running kernel sessions. Either way, I think it would be best to add a iscsiadm command. iscaidm would then tell the daemon to either remove all the running sessions in the kernel then stop or to just kill the daemon in such a way that we can restart it later and it can rebuild its state.

Yeah, that sounds like exactly what we need

Ok, I will try to get that done.

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