Invalidating cache due to ioctl