Re: Improving kernel logs in open-iscsi

2009-06-10 Thread Erez Zilber
On Mon, Jun 8, 2009 at 7:38 PM, Mike Christiemicha...@cs.wisc.edu wrote: Erez Zilber wrote: With that patch you can do both. module_params are exposed in sysfs and if you set IWUSR then you can write to it. echo 1 /sys/module/libiscsi/debug_libiscsi to turn on echo 0

Re: Improving kernel logs in open-iscsi

2009-06-08 Thread Mike Christie
Erez Zilber wrote: With that patch you can do both. module_params are exposed in sysfs and if you set IWUSR then you can write to it. echo 1 /sys/module/libiscsi/debug_libiscsi to turn on echo 0 /sys/module/libiscsi/debug_libiscsi to turn off. OK, thanks. We can have separate

Re: Improving kernel logs in open-iscsi

2009-06-07 Thread Erez Zilber
On Thu, Jun 4, 2009 at 7:59 PM, Mike Christiemicha...@cs.wisc.edu wrote: Erez Zilber wrote: With that patch you can do both. module_params are exposed in sysfs and if you set IWUSR then you can write to it. echo 1 /sys/module/libiscsi/debug_libiscsi to turn on echo 0

Re: Improving kernel logs in open-iscsi

2009-06-04 Thread Erez Zilber
With that patch you can do both. module_params are exposed in sysfs and if you set IWUSR then you can write to it. echo 1 /sys/module/libiscsi/debug_libiscsi to turn on echo 0 /sys/module/libiscsi/debug_libiscsi to turn off. OK, thanks. We can have separate logging for stuff like

Re: Improving kernel logs in open-iscsi

2009-06-04 Thread Mike Christie
Erez Zilber wrote: With that patch you can do both. module_params are exposed in sysfs and if you set IWUSR then you can write to it. echo 1 /sys/module/libiscsi/debug_libiscsi to turn on echo 0 /sys/module/libiscsi/debug_libiscsi to turn off. OK, thanks. We can have separate

Re: Improving kernel logs in open-iscsi

2009-05-20 Thread Erez Zilber
On Mon, Mar 9, 2009 at 7:16 PM, Mike Christie micha...@cs.wisc.edu wrote: Erez Zilber wrote: Currently, open-iscsi uses debug_scsi debug_tcp for logging. This is controlled by DEBUG_SCSI DEBUG_TCP. The current method is problematic because you can't enable/disable these logs without

Re: Improving kernel logs in open-iscsi

2009-03-09 Thread Mike Christie
Mike Christie wrote: Erez Zilber wrote: Currently, open-iscsi uses debug_scsi debug_tcp for logging. This is controlled by DEBUG_SCSI DEBUG_TCP. The current method is problematic because you can't enable/disable these logs without recompiling. Before I start working on it, I'd like to