+9
−6
Loading
When multiple block groups or devices fail during trim, preserve the first error encountered rather than the last one. The first error is typically more useful for debugging as it represents the original failure, while subsequent errors may be cascading effects. Signed-off-by:Robbie Ko <robbieko@synology.com> Signed-off-by:
jinbaohong <jinbaohong@synology.com> Reviewed-by:
Filipe Manana <fdmanana@suse.com> Signed-off-by:
Filipe Manana <fdmanana@suse.com> Reviewed-by:
David Sterba <dsterba@suse.com> Signed-off-by:
David Sterba <dsterba@suse.com>