Lines Matching refs:journal_dev
252 struct journal_dev { struct
256 } journal_dev; member
793 if (rs->journal_dev.dev) { in raid_set_free()
794 md_rdev_clear(&rs->journal_dev.rdev); in raid_set_free()
795 dm_put_device(rs->ti, rs->journal_dev.dev); in raid_set_free()
908 if (rs->journal_dev.dev) in parse_dev_params()
909 list_add_tail(&rs->journal_dev.rdev.same_set, &rs->md.disks); in parse_dev_params()
1264 &rs->journal_dev.dev); in parse_raid_params()
1269 jdev = &rs->journal_dev.rdev; in parse_raid_params()
1272 jdev->bdev = rs->journal_dev.dev->bdev; in parse_raid_params()
1278 rs->journal_dev.mode = R5C_JOURNAL_MODE_WRITE_THROUGH; in parse_raid_params()
1300 rs->journal_dev.mode = r; in parse_raid_params()
2490 …mddev->bitmap_info.offset = (rt_is_raid0(rs->raid_type) || rs->journal_dev.dev) ? 0 : to_sector(40… in super_validate()
3275 r = r5c_journal_mode_set(&rs->md, rs->journal_dev.mode); in raid_ctr()
3425 return (rs->journal_dev.mode == R5C_JOURNAL_MODE_WRITE_THROUGH) ? "A" : "a"; in __raid_dev_status()
3610 __raid_dev_status(rs, &rs->journal_dev.rdev) : "-"); in raid_status()
3678 __get_dev_name(rs->journal_dev.dev)); in raid_status()
3681 md_journal_mode_to_dm_raid(rs->journal_dev.mode)); in raid_status()
3709 switch (rs->journal_dev.mode) { in raid_status()