On Fri, Sep 07, 2018 at 02:16:23PM +0800, Qu Wenruo wrote: > + if (bg_failed) > + btrfs_warn(fs_info, "failed to trim %llu block group(s)", > + bg_failed); > + if (dev_failed) > + btrfs_warn(fs_info, "failed to trim %llu device(s)", > + dev_failed); Minor update, I've added bg_ret and dev_ret to the messages as this will end up in the logs and could be useful for later analysis.
