diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-05 19:21:20 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-04-08 11:25:38 -0600 |
commit | 71027e97d796d1e9b210a2f64bf2cc25e225a4c0 (patch) | |
tree | 5c8a92f1126616ffba426158c5ce62a48e9120ac /crypto/gcm.c | |
parent | 5d1429fead5beacce6df052c31b28a97a11e250b (diff) |
block: stop using discards for zeroing
Now that we have REQ_OP_WRITE_ZEROES implemented for all devices that
support efficient zeroing, we can remove the call to blkdev_issue_discard.
This means we only have two ways of zeroing left and can simplify the
code.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'crypto/gcm.c')
0 files changed, 0 insertions, 0 deletions