From: Pavel Begunkov Date: Thu, 25 Jun 2020 15:20:53 +0000 (+0300) Subject: io-wq: compact io-wq flags numbers X-Git-Tag: v5.10.7~2022^2~98 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e883a79d8ced8e123f8c4042a29a7524c39935ab;p=platform%2Fkernel%2Flinux-rpi.git io-wq: compact io-wq flags numbers Renumerate IO_WQ flags, so they take adjacent bits Signed-off-by: Pavel Begunkov Signed-off-by: Jens Axboe --- diff --git a/fs/io-wq.h b/fs/io-wq.h index 071f1a99..04239df 100644 --- a/fs/io-wq.h +++ b/fs/io-wq.h @@ -5,10 +5,10 @@ struct io_wq; enum { IO_WQ_WORK_CANCEL = 1, - IO_WQ_WORK_HASHED = 4, - IO_WQ_WORK_UNBOUND = 32, - IO_WQ_WORK_NO_CANCEL = 256, - IO_WQ_WORK_CONCURRENT = 512, + IO_WQ_WORK_HASHED = 2, + IO_WQ_WORK_UNBOUND = 4, + IO_WQ_WORK_NO_CANCEL = 8, + IO_WQ_WORK_CONCURRENT = 16, IO_WQ_HASH_SHIFT = 24, /* upper 8 bits are used for hash key */ };