commit | 2e2956ca5f2e01dd54fc8e23898c241372e5ef02 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Sat Dec 20 14:42:56 2014 -0700 |
committer | Mohamad Ayyash <mkayyash@google.com> | Fri Mar 06 17:58:11 2015 -0800 |
tree | 38376bcffa16203245ff6739e73a25f9d56d42b5 | |
parent | d1be5f8f17b003c9dac72c21e5f1f48d59511415 [diff] |
Fix default scrambling of buffers Commit 1bf2498d3111 inadvertently made us not scramble by default. The logic was a bit convoluted, so clear it up and scramble if: - Asked so by adding scramble_buffers=1 - Or, if not asked to explicitly, but zero_buffers not set to 1. Reported-by: Chris Wilson <Chris.Wilson@nutanix.com> Signed-off-by: Jens Axboe <axboe@fb.com>