[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

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




----- 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


[Home]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Add to Google

Powered by Linux