summaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorMartin K. Petersen2015-10-21 19:19:38 +0200
committerJens Axboe2015-10-21 22:42:39 +0200
commita48f041d91bf1aee599fa2adb53b780ed20c2ee5 (patch)
treec1cb66965f987d782c5c6bc63826d2250caf8d18 /sound/drivers
parentblock: Consolidate static integrity profile properties (diff)
downloadkernel-qcow2-linux-a48f041d91bf1aee599fa2adb53b780ed20c2ee5.tar.gz
kernel-qcow2-linux-a48f041d91bf1aee599fa2adb53b780ed20c2ee5.tar.xz
kernel-qcow2-linux-a48f041d91bf1aee599fa2adb53b780ed20c2ee5.zip
block: Reduce the size of struct blk_integrity
The per-device properties in the blk_integrity structure were previously unsigned short. However, most of the values fit inside a char. The only exception is the data interval size and we can work around that by storing it as a power of two. This cuts the size of the dynamic portion of blk_integrity in half. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Reported-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions