Lines Matching refs:write_behind
498 sb->write_behind = cpu_to_le32(bitmap->mddev->bitmap_info.max_write_behind);
540 pr_debug("max write behind: %u\n", le32_to_cpu(sb->write_behind));
558 unsigned long chunksize, daemon_sleep, write_behind;
588 * FIXME: write_behind for RAID1. If not specified, what
591 write_behind = bitmap->mddev->bitmap_info.max_write_behind;
592 if (write_behind > COUNTER_MAX)
593 write_behind = COUNTER_MAX / 2;
594 sb->write_behind = cpu_to_le32(write_behind);
595 bitmap->mddev->bitmap_info.max_write_behind = write_behind;
618 unsigned long chunksize, daemon_sleep, write_behind;
629 write_behind = 0;
674 write_behind = le32_to_cpu(sb->write_behind);
689 else if (write_behind > COUNTER_MAX)
757 bitmap->mddev->bitmap_info.max_write_behind = write_behind;