Home
last modified time | relevance | path

Searched refs:nr_stripes (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/md/bcache/
H A Dwriteback.h53 for (i = 0; i < d->nr_stripes; i++) in bcache_dev_sectors_dirty()
65 if (unlikely(offset >= d->nr_stripes)) { in offset_to_stripe()
67 offset, d->nr_stripes); in offset_to_stripe()
H A Dbcache.h268 int nr_stripes; member
/linux/fs/btrfs/
H A Dscrub.c1928 unsigned int nr_stripes) in submit_initial_group_read() argument
1933 ASSERT(first_slot + nr_stripes <= SCRUB_TOTAL_STRIPES); in submit_initial_group_read()
1936 btrfs_stripe_nr_to_offset(nr_stripes)); in submit_initial_group_read()
1938 for (int i = 0; i < nr_stripes; i++) { in submit_initial_group_read()
1952 const int nr_stripes = sctx->cur_stripe; in flush_scrub_stripes() local
1955 if (!nr_stripes) in flush_scrub_stripes()
1961 if (nr_stripes % SCRUB_STRIPES_PER_GROUP) { in flush_scrub_stripes()
1962 const int first_slot = round_down(nr_stripes, SCRUB_STRIPES_PER_GROUP); in flush_scrub_stripes()
1964 submit_initial_group_read(sctx, first_slot, nr_stripes - first_slot); in flush_scrub_stripes()
1967 for (int i = 0; i < nr_stripes; i++) { in flush_scrub_stripes()
[all …]
/linux/drivers/md/
H A Ddm-raid.c1543 uint32_t nr_stripes = rs->stripe_cache_entries; in rs_set_raid456_stripe_cache() local
1550 if (nr_stripes < min_stripes) { in rs_set_raid456_stripe_cache()
1552 nr_stripes, min_stripes); in rs_set_raid456_stripe_cache()
1553 nr_stripes = min_stripes; in rs_set_raid456_stripe_cache()
1563 if (conf->min_nr_stripes != nr_stripes) { in rs_set_raid456_stripe_cache()
1564 r = raid5_set_cache_size(mddev, nr_stripes); in rs_set_raid456_stripe_cache()
1570 DMINFO("%u stripe cache entries", nr_stripes); in rs_set_raid456_stripe_cache()
H A Dmd.h1041 void mddev_update_io_opt(struct mddev *mddev, unsigned int nr_stripes);
H A Dmd.c6250 void mddev_update_io_opt(struct mddev *mddev, unsigned int nr_stripes) in mddev_update_io_opt() argument
6261 lim.io_opt = lim.io_min * nr_stripes; in mddev_update_io_opt()