Re: [PATCH v11 18/26] block/rnbd: client: main functionality

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

 



On Sat, Mar 28, 2020 at 5:59 AM Bart Van Assche <bvanassche@xxxxxxx> wrote:
>
> On 2020-03-20 05:16, Jack Wang wrote:
> > +     /*
> > +      * Nothing was found, establish rtrs connection and proceed further.
> > +      */
> > +     sess->rtrs = rtrs_clt_open(&rtrs_ops, sessname,
> > +                                  paths, path_cnt, RTRS_PORT,
> > +                                  sizeof(struct rnbd_iu),
> > +                                  RECONNECT_DELAY, BMAX_SEGMENTS,
> > +                                  MAX_RECONNECTS);
>
> Is the server port number perhaps hardcoded in the above code?
Yes, we should have introduced a module parameter for rnbd-clt too, so
if admin changes port_nr, it's possible to change it also on rnbd-clt.

Thanks Bart!



[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