Re: "ibstat -l" displays CA device list in an unsorted order

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

 



On Wed, Feb 26, 2020 at 02:18:06AM +0900, Jens Domke wrote:
> Dear Leon,
>
> with all due respect, but if you don't want to be part of the solution,
> then please at least stop being part of the problem!

To talk about solution, someone needs actually to convince that the
problem exists and right now we are talking about change in internal
implementation of pretty well explained feature - provide device list.

>
> I (and highly likely many other admins out there who don't follow this
> list) am in full support of Haim's request for sorted output.

I don't see any API or utils in the rdma-core which promised to provide
sorted output.

>
> Not everything can/will be pinned down in a manpage, but if you insist
> then sure someone can submit a amendment to the ibstat documentation
> which demands alphanumeric sorting for the NICs/ports.

The manual is not enough, what about other tools? Should we update them
too? Or do we need to make ibstat special while rest of the tools keep
the list unsorted?

Maybe I'm part of the problem, but any solution will require unified
approach for whole rdma-core, so users like you will get stable and
consistent result from any rdma-core API/tool.

Thanks

>
> Best,
> Jens
>
>
> On 2/25/20 6:18 PM, Leon Romanovsky wrote:
> > On Tue, Feb 25, 2020 at 10:36:05AM +0200, Haim Boozaglo wrote:
> > >
> > >
> > > On 2/25/2020 9:48 AM, Leon Romanovsky wrote:
> > > > On Mon, Feb 24, 2020 at 08:06:56PM +0200, Haim Boozaglo wrote:
> > > > > Hi all,
> > > > >
> > > > > When running "ibstat" or "ibstat -l", the output of CA device list
> > > > > is displayed in an unsorted order.
> > > > >
> > > > > Before pull request #561, ibstat displayed the CA device list sorted in
> > > > > alphabetical order.
> > > > >
> > > > > The problem is that users expect to have the output sorted in alphabetical
> > > > > order and now they get it not as expected (in an unsorted order).
> > > >
> > > > Do we have anything written in official man pages about this expectation?
> > > > I don't think so, there is nothing "to fix".
> > > >
> > > > Thanks
> > > >
> > > > >
> > > > > Best Regards,
> > > > > Haim Boozaglo.
> > >
> > > Ok, but for many years people got used to getting sorted output in
> > > alphabetical order and now they don't get it.
> >
> > Like for many other things, those people will adapt.
> >
> > Thanks
> >



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux