[email protected] said: > the use of the name "TRIM" in the UFS layer could be a bit more > generic. This same VOP could be used for example to handle freeing up > blocks with a flash device backing a UFS filesystem. Maybe use > something like DIOCFREEBLOCKS instead of DIOCTRIM?
Yes, "TRIM" is ATA specific. It was just lazyness because it was the shortest name, thus less to type. Other possible names would be "discard" or "delete". (FreeBSD uses the latter.) best regards Matthias ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- Kennen Sie schon unsere app? http://www.fz-juelich.de/app
