]> git.baikalelectronics.ru Git - kernel.git/commit
md/bitmap: don't set max_write_behind if there is no write mostly device
authorGuoqing Jiang <guoqing.jiang@linux.dev>
Sun, 17 Oct 2021 13:50:17 +0000 (21:50 +0800)
committerSong Liu <songliubraving@fb.com>
Tue, 2 Nov 2021 18:41:44 +0000 (11:41 -0700)
commit3813b28f724f4560b5e285175480e84e0bfdc10e
tree34475a71526cbdc89d16b7c630723dbcf3f50e6e
parente9fa08203b097a7d6151009b6170f96e92096272
md/bitmap: don't set max_write_behind if there is no write mostly device

We shouldn't set it since write behind IO should only happen to write
mostly device.

Signed-off-by: Guoqing Jiang <guoqing.jiang@linux.dev>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/md-bitmap.c