commit | e69f18f06b97ed29645d020500222bfcec2b42b2 | [log] [tgz] |
---|---|---|
author | Martin K. Petersen <martin.petersen@oracle.com> | Tue Apr 08 22:59:31 2014 -0400 |
committer | Jens Axboe <axboe@fb.com> | Wed Apr 09 08:00:06 2014 -0600 |
tree | 1541e97cc116a058f42302aed325dc71fb7dfd91 | |
parent | 0bc69973066d62f70ce60bd6762b5cb75a699159 [diff] |
block: Ensure we only enable integrity metadata for reads and writes We'd occasionally attempt to generate protection information for flushes and other requests with a zero payload. Make sure we only attempt to enable integrity for reads and writes. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jens Axboe <axboe@fb.com>