#1 get_geometry() uses the deprecated HDIO_GETGEO_BIG ioctl

closed-accepted
nobody
None
5
2005-07-09
2005-07-05
Darik Horn
No

Summary: This patch changes the EVMS get_geometry()
function so that it tries the HDIO_GETGEO ioctl before
it tries the HDIO_GETGEO_BIG ioctl.

Problem: The HDIO_GETGEO_BIG ioctl is deprecated in
Linux 2.6 (and in the Linux 2.4 libata backport) and is
not implemented by recent drivers.

Motivation: The aoe driver does not implement the
HDIO_GETGEO_BIG ioctl and prints many kernel messages
like this:

aoe: aoeblk_ioctl: unknown ioctl 816

Discussion

  • Darik Horn
    Darik Horn
    2005-07-05

    EVMS 2.5.3 get_geometry() HDIO_GETGEO_BIG ioctl patch

     
  • Kevin Corry
    Kevin Corry
    2005-07-09

    • status: open --> closed-accepted
     
  • Kevin Corry
    Kevin Corry
    2005-07-09

    Logged In: YES
    user_id=206722

    This patch has been committed to the EVMS CVS tree. Thanks,
    Darik!