Re: [PATCH 2/2] Btrfs: fix warning of bytes_may_use

2015-06-30 Thread Filipe David Manana
On Wed, Jun 17, 2015 at 9:59 AM, Liu Bo wrote: > While running generic/019, dmesg got several warnings from > btrfs_free_reserved_data_space(). > > Test generic/019 produces some disk failures so sumbit dio will get errors, > in which case, btrfs_direct_IO() goes to the error handling and free > b

[PATCH 2/2] Btrfs: fix warning of bytes_may_use

2015-06-17 Thread Liu Bo
While running generic/019, dmesg got several warnings from btrfs_free_reserved_data_space(). Test generic/019 produces some disk failures so sumbit dio will get errors, in which case, btrfs_direct_IO() goes to the error handling and free bytes_may_use, but the problem is that bytes_may_use has bee