# Re: \[PATCHSET block\#for-2.6.36-post\] block: replace barrier with sequenced flush

- From: Alan Cox \<hidden\>
- Date: 2010-08-24 23:14:21 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2010/08/45193
- Thread: https://ratatoskr.run/linux-scsi/2010/08/44539/t.md

```text
> In SCSI there are conditions when a command, including FLUSH 
> (SYNC_CACHE), failed which don't imply lost data. For them the caller 
> expected to retry the failed command. Most common cases are Unit 
> Attentions and TASK QUEUE FULL status.

ATA expects the command to be retried as well because a failed flush
indicates the specific sector is lost (unless the host still has a copy
of course - which is *very* likely although we don't use it) but the rest
of the flush transaction can be retried to continue to flush sectors
beyond the failed one.

Alan
```
