Home
last modified time | relevance | path

Searched refs:this_sector (Results 1 – 3 of 3) sorted by relevance

/drivers/md/
A Draid1-10.c247 sector_t this_sector, int *len) in raid1_check_read_range() argument
253 if (!is_badblock(rdev, this_sector, *len, &first_bad, &bad_sectors)) in raid1_check_read_range()
260 if (first_bad > this_sector) in raid1_check_read_range()
261 return first_bad - this_sector; in raid1_check_read_range()
264 if (this_sector + *len <= first_bad + bad_sectors) in raid1_check_read_range()
273 *len = first_bad + bad_sectors - this_sector; in raid1_check_read_range()
284 sector_t this_sector, int len) in raid1_should_read_first() argument
286 if ((mddev->resync_offset < this_sector + len)) in raid1_should_read_first()
290 mddev->cluster_ops->area_resyncing(mddev, READ, this_sector, in raid1_should_read_first()
291 this_sector + len)) in raid1_should_read_first()
A Draid1.c580 sector_t this_sector, int len) in update_read_sectors() argument
585 if (info->next_seq_sect != this_sector) in update_read_sectors()
586 info->seq_start = this_sector; in update_read_sectors()
587 info->next_seq_sect = this_sector + len; in update_read_sectors()
593 sector_t this_sector = r1_bio->sector; in choose_first_rdev() local
609 read_len = raid1_check_read_range(rdev, this_sector, &len); in choose_first_rdev()
611 update_read_sectors(conf, disk, this_sector, read_len); in choose_first_rdev()
629 sector_t this_sector = r1_bio->sector; in choose_bb_rdev() local
650 read_len = raid1_check_read_range(rdev, this_sector, &len); in choose_bb_rdev()
668 sector_t this_sector = r1_bio->sector; in choose_slow_rdev() local
[all …]
A Draid10.c725 const sector_t this_sector = r10_bio->sector; in read_balance() local
747 if (raid1_should_read_first(conf->mddev, this_sector, sectors)) in read_balance()

Completed in 18 milliseconds