[BLOCK] mark some block/ variables cons
the patch below marks various read-only variables in block/* as const, so that gcc can optimize the use of them; eg gcc will replace the use by the value directly now and will even remove the memory usage of these. Signed-off-by: NArjan van de Ven <arjan@infradead.org> Signed-off-by: NJens Axboe <axboe@suse.de>
Showing
想要评论请 注册 或 登录