Re: [PATCH v3.1 1/2] btrfs: Enhance btrfs_trim_fs function to handle error better

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux