Home
last modified time | relevance | path

Searched refs:al_stripe_size_4k (Results 1 – 4 of 4) sorted by relevance

/drivers/block/drbd/
Ddrbd_main.c3120 u32 al_stripe_size_4k; member
3151 buffer->al_stripe_size_4k = cpu_to_be32(device->ldev->md.al_stripe_size_4k); in drbd_md_write()
3205 u32 al_stripe_size_4k = be32_to_cpu(on_disk->al_stripe_size_4k); in check_activity_log_stripe_size() local
3209 if (al_stripes == 0 && al_stripe_size_4k == 0) { in check_activity_log_stripe_size()
3211 al_stripe_size_4k = MD_32kB_SECT/8; in check_activity_log_stripe_size()
3217 if (al_stripes == 0 || al_stripe_size_4k == 0) in check_activity_log_stripe_size()
3220 al_size_4k = (u64)al_stripes * al_stripe_size_4k; in check_activity_log_stripe_size()
3234 in_core->al_stripe_size_4k = al_stripe_size_4k; in check_activity_log_stripe_size()
3241 al_stripes, al_stripe_size_4k); in check_activity_log_stripe_size()
3281 || in_core->al_stripe_size_4k != MD_32kB_SECT/8) in check_offsets_and_sizes()
[all …]
Ddrbd_nl.c921 u32 al_stripe_size_4k; in drbd_determine_dev_size() member
953 prev.al_stripe_size_4k = md->al_stripe_size_4k; in drbd_determine_dev_size()
958 md->al_stripe_size_4k = rs->al_stripe_size / 4; in drbd_determine_dev_size()
1049 md->al_stripes, md->al_stripe_size_4k * 4); in drbd_determine_dev_size()
1066 md->al_stripe_size_4k = prev.al_stripe_size_4k; in drbd_determine_dev_size()
1067 md->al_size_4k = (u64)prev.al_stripes * prev.al_stripe_size_4k; in drbd_determine_dev_size()
2833 rs.al_stripe_size = device->ldev->md.al_stripe_size_4k * 4; in drbd_adm_resize()
2871 device->ldev->md.al_stripe_size_4k != rs.al_stripe_size / 4) { in drbd_adm_resize()
Ddrbd_actlog.c313 const unsigned int stripe_size_4kB = device->ldev->md.al_stripe_size_4k; in al_tr_number_to_on_disk_sector()
624 int al_size_4k = md->al_stripes * md->al_stripe_size_4k; in drbd_al_initialize()
Ddrbd_int.h598 u32 al_stripe_size_4k; member