]> git.baikalelectronics.ru Git - kernel.git/commit
block: warn if tag is greater than real_max_depth.
authorTao Ma <boyu.mt@taobao.com>
Tue, 25 Oct 2011 08:20:05 +0000 (10:20 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 25 Oct 2011 08:20:05 +0000 (10:20 +0200)
commit40e9055fd651a3eb7f54ab138fea2d5b6374e13f
tree7d9d9b275f8b62fa5069012df293e0af364bce86
parent74170cde72b2ed107c48a62c87cd1843dc4728a1
block: warn if tag is greater than real_max_depth.

In case tag depth is reduced, it is max_depth not real_max_depth.
So we should allow a request with tag >= max_depth, but for a
tag >= real_max_depth, there really should be some problem.

Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-tag.c