On Thu, Mar 08, 2018 at 05:47:20PM +0100, David Sterba wrote:
> On Thu, Mar 08, 2018 at 02:19:28PM +0200, Nikolay Borisov wrote:
> > > @@ -941,9 +941,7 @@ void btrfs_bio_counter_inc_noblocked(struct
> > > btrfs_fs_info *fs_info)
> > > void btrfs_bio_counter_sub(struct btrfs_fs_info *fs_info, s64
On Thu, Mar 08, 2018 at 02:19:28PM +0200, Nikolay Borisov wrote:
> > @@ -941,9 +941,7 @@ void btrfs_bio_counter_inc_noblocked(struct
> > btrfs_fs_info *fs_info)
> > void btrfs_bio_counter_sub(struct btrfs_fs_info *fs_info, s64 amount)
> > {
> > percpu_counter_sub(&fs_info->bio_counter, amoun
On 8.03.2018 13:49, David Sterba wrote:
> Use the wrappers and reduce the amount of low-level details about the
> waitqueue management.
>
> Signed-off-by: David Sterba
> ---
> fs/btrfs/compression.c | 7 +--
> fs/btrfs/delayed-inode.c | 9 +++--
> fs/btrfs/dev-replace.c | 10 +++