commit | b3fa7e77e67e647db3db2166b65083a427d84ed3 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <kmo@daterainc.com> | Mon Aug 05 14:04:06 2013 -0700 |
committer | Kent Overstreet <kmo@daterainc.com> | Wed Jan 08 13:05:06 2014 -0800 |
tree | 287ba3124137234e1518208b57717d60aa9eb44b | |
parent | ef71ec00002d92a08eb27e9d036e3d48835b6597 [diff] |
bcache: Minor journal fix The real fix is where we check the bytes we need against how much is remaining - we also need to check for a journal entry bigger than our buffer, we'll never write those and it would be bad if we tried to read one. Also improve the diagnostic messages. Signed-off-by: Kent Overstreet <kmo@daterainc.com>