Thank you. It's actually possible to test access mode through the callback, and it does look like DELETE is used internally, so that's good.
My only concern now is whether we need stream-switch call at all? Have you tested if it's used for regular files, or on filesystems where streams are not supported. Maybe it could be dropped.