Re: [PATCH 02/15] qla2xxx: Change post del message from debug level to log level

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

 




> On Dec 1, 2020, at 2:27 AM, Nilesh Javali <njavali@xxxxxxxxxxx> wrote:
> 
> From: Saurav Kashyap <skashyap@xxxxxxxxxxx>
> 
> Change the message debug level.
> 
> Signed-off-by: Saurav Kashyap <skashyap@xxxxxxxxxxx>
> Signed-off-by: Nilesh Javali <njavali@xxxxxxxxxxx>
> ---
> drivers/scsi/qla2xxx/qla_gs.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c
> index e28c4b7ec55f..391ac75e3de3 100644
> --- a/drivers/scsi/qla2xxx/qla_gs.c
> +++ b/drivers/scsi/qla2xxx/qla_gs.c
> @@ -3558,10 +3558,10 @@ void qla24xx_async_gnnft_done(scsi_qla_host_t *vha, srb_t *sp)
> 					if (fcport->flags & FCF_FCP2_DEVICE)
> 						fcport->logout_on_delete = 0;
> 
> -					ql_dbg(ql_dbg_disc, vha, 0x20f0,
> -					    "%s %d %8phC post del sess\n",
> -					    __func__, __LINE__,
> -					    fcport->port_name);
> +					ql_log(ql_log_warn, vha, 0x20f0,
> +					       "%s %d %8phC post del sess\n",
> +					       __func__, __LINE__,
> +					       fcport->port_name);
> 
> 					qlt_schedule_sess_for_deletion(fcport);
> 					continue;
> -- 
> 2.19.0.rc0
> 

I am okay with the change just curious, Would it not flood message file for large number of sessions?

--
Himanshu Madhani	 Oracle Linux Engineering





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux