Re: [PATCH 00/11] btrfs: add zstd compression level support

2019-01-31 Thread Dennis Zhou
On Thu, Jan 31, 2019 at 03:04:36PM +0100, David Sterba wrote: > On Wed, Jan 30, 2019 at 12:40:59PM -0500, Dennis Zhou wrote: > > Hi David, > > > > On Tue, Jan 29, 2019 at 06:18:30PM +0100, David Sterba wrote: > > > On Mon, Jan 28, 2019 at 04:24:26PM -0500, Dennis Zhou wrote: > > > > As mentioned a

Re: [PATCH 00/11] btrfs: add zstd compression level support

2019-01-31 Thread David Sterba
On Wed, Jan 30, 2019 at 12:40:59PM -0500, Dennis Zhou wrote: > Hi David, > > On Tue, Jan 29, 2019 at 06:18:30PM +0100, David Sterba wrote: > > On Mon, Jan 28, 2019 at 04:24:26PM -0500, Dennis Zhou wrote: > > > As mentioned above, a requirement that differs zstd from zlib is that > > > higher level

Re: [PATCH 00/11] btrfs: add zstd compression level support

2019-01-30 Thread Dennis Zhou
Hi David, On Tue, Jan 29, 2019 at 06:18:30PM +0100, David Sterba wrote: > On Mon, Jan 28, 2019 at 04:24:26PM -0500, Dennis Zhou wrote: > > As mentioned above, a requirement that differs zstd from zlib is that > > higher levels of compression require more memory. To manage this, each > > compressio

Re: [PATCH 00/11] btrfs: add zstd compression level support

2019-01-29 Thread Nick Terrell
> On Jan 29, 2019, at 9:18 AM, David Sterba wrote: > > On Mon, Jan 28, 2019 at 04:24:26PM -0500, Dennis Zhou wrote: >> As mentioned above, a requirement that differs zstd from zlib is that >> higher levels of compression require more memory. To manage this, each >> compression level has its ow

Re: [PATCH 00/11] btrfs: add zstd compression level support

2019-01-29 Thread David Sterba
On Mon, Jan 28, 2019 at 04:24:26PM -0500, Dennis Zhou wrote: > As mentioned above, a requirement that differs zstd from zlib is that > higher levels of compression require more memory. To manage this, each > compression level has its own queue of workspaces. A global LRU is used > to help with recl