Re: [PATCH 1/3] btrfs: cleanup: remove unuesd DEDINE_WAIT() in btrfs_bio_counter_inc_blocked()

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

 



On Thu, Feb 12, 2015 at 03:42:11PM +0800, Zhaolei wrote:
> From: Zhao Lei <zhaolei@xxxxxxxxxxxxxx>
> 
> 1: Remove unused DEFINE_WAIT(wait)
> 2: Add likely() for BTRFS_FS_STATE_DEV_REPLACING condition

Using likely() here is poitnless, it's not a performance sensitive path
at all.

> 3: Use a look instead of goto
> 
> Signed-off-by: Zhao Lei <zhaolei@xxxxxxxxxxxxxx>

Ack, for the rest.
--
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