engines/glfs_async: add trim support