commit | 3a2fd9d5090b83aab85378a846fa10f39b0b5aa7 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kmo@daterainc.com> | Thu Feb 27 17:51:12 2014 -0800 |
committer | Kent Overstreet <kmo@daterainc.com> | Tue Mar 18 12:24:54 2014 -0700 |
tree | 13862a06f381010ba9716441d4f844d953472670 | |
parent | 2531d9ee61fa08a5a9ab8f002c50779888d232c7 [diff] |
bcache: Kill bucket->gc_gen gc_gen was a temporary used to recalculate last_gc, but since we only need bucket->last_gc when gc isn't running (gc_mark_valid = 1), we can just update last_gc directly. Signed-off-by: Kent Overstreet <kmo@daterainc.com>