Skip to content
  • James Bottomley's avatar
    libata: separate error handler into usable components · 0e0b494c
    James Bottomley authored
    
    
    Right at the moment, the libata error handler is incredibly
    monolithic.  This makes it impossible to use from composite drivers
    like libsas and ipr which have to handle error themselves in the first
    instance.
    
    The essence of the change is to split the monolithic error handler
    into two components: one which handles a queue of ata commands for
    processing and the other which handles the back end of readying a
    port.  This allows the upper error handler fine grained control in
    calling libsas functions (and making sure they only get called for ATA
    commands whose lower errors have been fixed up).
    
    Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    0e0b494c