Re: [PATCH 1/1] target:separate tx/rx cmd_puds

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

 



[replying to an old thread]

On Sun, 8 Apr 2018 11:57:18 +0800, Zhang Zhuoyu wrote:

> > On Thu, 5 Apr 2018 13:12:12 +0200, David Disseldorp wrote:
> >   
> > > > -CONFIGFS_ATTR_RO(target_stat_tgt_port_, in_cmds);
> > > > +CONFIGFS_ATTR_RO(target_stat_tgt_port_, tx_cmds);
> > > > +CONFIGFS_ATTR_RO(target_stat_tgt_port_, rx_cmds);  
> > >
> > > I don't think the in_cmds metric should be deleted here. It could be
> > > calculated on the fly via tx_cmds + rx_cmds + nodata_cmds.  
> > 
> > @Zhang Zhuoyu: How about something like the following?
> > https://git.samba.org/?p=ddiss/linux.git;a=commitdiff;h=73723ccf433424721
> > 830797d70cfb88d4596e0fc
> >   
> 
> Mmm... This patch is much better. 
> Looks good to me.

Looks like I never followed up with a proper submission for this patch.
I'll do so later today.

Cheers, David



[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