rs_discard_granularity 1523 drivers/block/drbd/drbd_nl.c if (disk_conf->rs_discard_granularity) { rs_discard_granularity 1524 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity = 0; /* disable feature */ rs_discard_granularity 1529 drivers/block/drbd/drbd_nl.c if (disk_conf->rs_discard_granularity) { rs_discard_granularity 1530 drivers/block/drbd/drbd_nl.c int orig_value = disk_conf->rs_discard_granularity; rs_discard_granularity 1533 drivers/block/drbd/drbd_nl.c if (q->limits.discard_granularity > disk_conf->rs_discard_granularity) rs_discard_granularity 1534 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity = q->limits.discard_granularity; rs_discard_granularity 1536 drivers/block/drbd/drbd_nl.c remainder = disk_conf->rs_discard_granularity % q->limits.discard_granularity; rs_discard_granularity 1537 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity += remainder; rs_discard_granularity 1539 drivers/block/drbd/drbd_nl.c if (disk_conf->rs_discard_granularity > q->limits.max_discard_sectors << 9) rs_discard_granularity 1540 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity = q->limits.max_discard_sectors << 9; rs_discard_granularity 1542 drivers/block/drbd/drbd_nl.c if (disk_conf->rs_discard_granularity != orig_value) rs_discard_granularity 1544 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity); rs_discard_granularity 620 drivers/block/drbd/drbd_worker.c discard_granularity = rcu_dereference(device->ldev->disk_conf)->rs_discard_granularity; rs_discard_granularity 129 include/linux/drbd_genl.h __u32_field_def(25, 0 /* OPTIONAL */, rs_discard_granularity, DRBD_RS_DISCARD_GRANULARITY_DEF)