Re: Recommendations on user-space soft/hardreset

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

 



> You mean:
> 
> static const struct ata_port_operations sil24_ops = {
> ...
> 	.error_handler		= sil24_error_handler,
> ...
> which then calls
> 	ata_do_eh(ap, ata_std_prereset, sil24_softreset, sil24_hardreset,
> 		  ata_std_postreset);
> 
> How to then specify if you just need a softreset? My understanding is
> all those functions get called.

The neccessary parts get called from libata-eh based upon the flags set
by the error code to indicate how to recover.

> Ugh.. I figured, I was just hoping I wouldn't have to deal with that.
> Any idea on what happens to the user process (blocking, etc.) during
> error handling? Surely if a disk needs to be hardreset during a normal
> error, the user process doesn't hang for up to 30 seconds?

It stalls.

Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux