commit | aed49e195af6b621d59b3e7f85aa5c5a71e90050 | [log] [tgz] |
---|---|---|
author | Hans Holmberg <hans.holmberg@cnexlabs.com> | Fri Jan 05 14:16:12 2018 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jan 05 08:50:12 2018 -0700 |
tree | 73bf07802311e11eaca0c267569f0839eb670667 | |
parent | b36bbf9d4f731269b4fe88e1060af1e8c28b7972 [diff] |
lightnvm: pblk: remove pblk_gc_stop pblk_gc_stop just sets pblk->gc->gc_active to zero, ignoring the flush parameter. This is plain confusing, so remove the function and set the gc active flag at the call points instead. Signed-off-by: Hans Holmberg <hans.holmberg@cnexlabs.com> Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@kernel.dk>