Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'block-5.16-2022-01-07' of git://git.kernel.dk/linux-block

Pull block fix from Jens Axboe:
"Just the md bitmap regression this time"

* tag 'block-5.16-2022-01-07' of git://git.kernel.dk/linux-block:
md/raid1: fix missing bitmap update w/o WriteMostly devices

+2 -1
+2 -1
drivers/md/raid1.c
··· 1496 1496 if (!r1_bio->bios[i]) 1497 1497 continue; 1498 1498 1499 - if (first_clone && test_bit(WriteMostly, &rdev->flags)) { 1499 + if (first_clone) { 1500 1500 /* do behind I/O ? 1501 1501 * Not if there are too many, or cannot 1502 1502 * allocate memory, or a reader on WriteMostly 1503 1503 * is waiting for behind writes to flush */ 1504 1504 if (bitmap && 1505 + test_bit(WriteMostly, &rdev->flags) && 1505 1506 (atomic_read(&bitmap->behind_writes) 1506 1507 < mddev->bitmap_info.max_write_behind) && 1507 1508 !waitqueue_active(&bitmap->behind_wait)) {