[PATCH v2 18/29] spl: Add callbacks to invalidate cached devices