Re: [PATCH] btrfs: cleanup extent locking sequence

2017-10-13 Thread David Sterba
On Tue, Oct 10, 2017 at 09:26:41PM -0500, Goldwyn Rodrigues wrote: > From: Goldwyn Rodrigues > > Code cleanup for better understanding: > needs_unlock to be called extent_locked to show state as opposed to > action. > Changed the variable to int, to reduce code in the critical

[PATCH] btrfs: cleanup extent locking sequence

2017-10-10 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues Code cleanup for better understanding: needs_unlock to be called extent_locked to show state as opposed to action. Changed the variable to int, to reduce code in the critical path(code usually executed). Signed-off-by: Goldwyn Rodrigues