Re: introduce a new command to display the disk's information

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

 




----- Original Message -----

> > 
> > Fifth, I tried it on a much older RHEL3 kernel, which shows:
> > 
> >   crash> dev -d
> >   dev: invalid request_queue.in_flight's size
> >   crash>
> 
> I do not have such kernel. What is the version of such kernel?
> > 
> > It's not really invalid size, but it's more the case that you
> > don't support that old a kernel version.  In that case, instead
> > of doing this:
> > 
> >     error(FATAL, "invalid request_queue.in_flight's size\n");
> > 
> > you should do this instead:
> > 
> >     option_not_supported('d');
> 
> Good idea.

RHEL3 was a 2.4.21-based kernel, where the request_queue didn't have
the in_flight member.  So the use of the option_not_supported() is
good enough.

Dave
 

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux