Re: [PATCH 11/19] btrfs: add bps discard rate limit

2019-10-14 Thread Dennis Zhou
On Thu, Oct 10, 2019 at 11:47:19AM -0400, Josef Bacik wrote: > On Mon, Oct 07, 2019 at 04:17:42PM -0400, Dennis Zhou wrote: > > Provide an ability to rate limit based on mbps in addition to the iops > > delay calculated from number of discardable extents. > > > > Signed-off-by: Dennis Zhou > > --

Re: [PATCH 11/19] btrfs: add bps discard rate limit

2019-10-10 Thread Josef Bacik
On Mon, Oct 07, 2019 at 04:17:42PM -0400, Dennis Zhou wrote: > Provide an ability to rate limit based on mbps in addition to the iops > delay calculated from number of discardable extents. > > Signed-off-by: Dennis Zhou > --- > fs/btrfs/ctree.h | 2 ++ > fs/btrfs/discard.c | 11 +++ >

[PATCH 11/19] btrfs: add bps discard rate limit

2019-10-07 Thread Dennis Zhou
Provide an ability to rate limit based on mbps in addition to the iops delay calculated from number of discardable extents. Signed-off-by: Dennis Zhou --- fs/btrfs/ctree.h | 2 ++ fs/btrfs/discard.c | 11 +++ fs/btrfs/sysfs.c | 30 ++ 3 files changed, 43