Re: [PATCH] btrfs: Do not check for PagePrivate twice

2019-10-21 Thread Filipe Manana
On Sat, Oct 19, 2019 at 10:05 AM Goldwyn Rodrigues wrote: > > From: Goldwyn Rodrigues > > We are checking PagePrivate twice, once with lock and once without. > Perform the check only once. Have you checked if there's some performance degradation after removing the check? My guess is it's there t

[PATCH] btrfs: Do not check for PagePrivate twice

2019-10-18 Thread Goldwyn Rodrigues
From: Goldwyn Rodrigues We are checking PagePrivate twice, once with lock and once without. Perform the check only once. Signed-off-by: Goldwyn Rodrigues --- fs/btrfs/extent_io.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/btrfs/extent_io.c b/fs/btrfs/extent_io.c index cceaf05aada