----- Original Message ----- From: "Ryan Stone"
Ahh yes looks like ATA supports BIO_DELETE via ATA_CFA_ERASE if the drive
announces ATA_PROTO_CFA, so I can only assume this is failing when it
shouldn't.

Might be nice to investigate what's happening and fix, but as ATA is
being replaced by CAM ATA not sure its worth it?

I believe that the code that you are looking at refers to a old
command that is only implemented by CompactFlash cards.  The ad(4)
driver does not currently support the TRIM command.  I have an
internal patch that implements it for FreeBSD 8.2; if there's interest
I could try to dig it out.

It may well be but that's the only code in ad driver that I can see
which sets DISKFLAG_CAN_DELETE and without that geom_disk should
trigger EOPNOTSUPP and hence go into the unsupported not the fail
case.

   Regards
   Steve

================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it.
In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to