commit | 32825ebb06fafeff463ed23e9d0dea459ebd30fe | [log] [tgz] |
---|---|---|
author | Rakesh Pandit <rakesh@tuxera.com> | Fri Oct 13 14:46:00 2017 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Oct 13 08:34:57 2017 -0600 |
tree | de940ed6e2f5cdf6cf7e3ed202ce06edce7e796d | |
parent | c79819bc0877e4cbed8013b1abc9697e8805b21b [diff] |
lightnvm: pblk: reuse pblk_gc_should_kick This is a trivial change which reuses pblk_gc_should_kick instead of repeating it again in pblk_rl_free_lines_inc. Signed-off-by: Rakesh Pandit <rakesh@tuxera.com> Made it apply to the common case. Reviewed-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>