summaryrefslogtreecommitdiff
path: root/crypto/blkcipher.c
diff options
context:
space:
mode:
authorWenwei Tao <ww.tao0320@gmail.com>2016-01-12 09:49:27 +0300
committerJens Axboe <axboe@fb.com>2016-01-12 18:21:17 +0300
commit4b79beb4c36d697e940e9f70d72399c71230a418 (patch)
treedfb308f42e9bdb7c5572c4df3065034107de4ba1 /crypto/blkcipher.c
parent556755e941837ebc4b4859dd7f74f2ed2dd00fc7 (diff)
downloadlinux-4b79beb4c36d697e940e9f70d72399c71230a418.tar.xz
lightnvm: move the pages per block check out of the loop
There is no need to check whether dev's pages per block is beyond rrpc support every time we init a lun, we only need to check it once before enter the lun init loop. Signed-off-by: Wenwei Tao <ww.tao0320@gmail.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'crypto/blkcipher.c')
0 files changed, 0 insertions, 0 deletions