commit | 073196787727e454e17a96d222ea55eba2000978 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Tue Jun 20 11:15:38 2017 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jun 20 19:27:14 2017 -0600 |
tree | 3b0c7733b6cfe467367abbd59fe2e4d59dac730f | |
parent | efbeccdb59d666b9c77d505af01097cc0a9d102b [diff] |
blk-mq: Reduce blk_mq_hw_ctx size Since the srcu structure is rather large (184 bytes on an x86-64 system with kernel debugging disabled), only allocate it if needed. Reported-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ming Lei <ming.lei@redhat.com> Cc: Hannes Reinecke <hare@suse.com> Cc: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>