Re: [PATCH 09/10] btrfs: Rework error handling of add_extent_mapping in __btrfs_alloc_chunk

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

 



On Mon, Aug 21, 2017 at 12:43:49PM +0300, Nikolay Borisov wrote:
> Currently the code executes add_extent_mapping and if it is successful it links
> the new mapping, it then proceeds to unlock the extent mapping tree and check
> for failure and handle them. Instead, rework the code to only perform a single
> check if add_extent_mapping has failed and handle it, otherwise the code
> continues in a linear fashion. No functional changes

I like the new version.

Reviewed-by: David Sterba <dsterba@xxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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