bcache: Don't touch bucket gen for dirty ptrs
authorKent Overstreet <kmo@daterainc.com>
Sat, 10 Aug 2013 04:14:13 +0000 (21:14 -0700)
committerKent Overstreet <kmo@daterainc.com>
Wed, 8 Jan 2014 21:05:07 +0000 (13:05 -0800)
commitd56d000a1f424aa77538bd5aad18b43037ed20cc
tree77a303f11e2462546f0e621fa9a5a4d840d23dba
parentb0f32a56f27eb0df4124dbfc8eb6f09f423eed99
bcache: Don't touch bucket gen for dirty ptrs

Unnecessary since a bucket that has dirty pointers pointing to it can
never be invalidated - and skipping it is a measurable performance
boost, since the bucket gen will usually be a cache miss.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/bset.c
drivers/md/bcache/request.c