]> 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)
commite02f858fe6533037c93a13fd58bb89c72962a8e8
tree7d9d9b275f8b62fa5069012df293e0af364bce86
parent7020771dd526b652fb8a884520a70e845626acc2
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