[PATCH blktests 12/15] nvme: remove "local -n" from _get_nvmet_ports()

Shinichiro Kawasaki shinichiro.kawasaki at wdc.com
Tue Oct 29 01:20:46 PDT 2024


On Oct 25, 2024 / 16:56, Daniel Wagner wrote:
> On Thu, Oct 24, 2024 at 10:00:22AM GMT, Shin'ichiro Kawasaki wrote:
> > The -n option of the bash local variable declaration means that the
> > variable is used as nameref. However, this nameref feature was
> > introduced to bash at its version 4.3. On the other hand, blktests
> > requires bash version 4.2. To not rely on the bash version 4.3, replace
> > the nameref feature with the "read -ra" command to parse arguments.
> 
> I'd rather update the min requirement here. bash 4.3 was released 10
> years ago.

I agree that is an option, but I would like to have a wider discussion for it.
Let's have separated discussion for bash version bump up at linux-block list
later on. I will drop this patch from this series, and keep "local -n" in this
ANA support work.


More information about the Linux-nvme mailing list