Searched refs:sync_blocks (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/md/ |
H A D | raid1.c | 1770 sector_t sync_blocks = 0; end_sync_write() local 1776 &sync_blocks, 1); end_sync_write() 1777 s += sync_blocks; end_sync_write() 1778 sectors_to_go -= sync_blocks; end_sync_write() 2495 sector_t sync_blocks; sync_request() local 2513 &sync_blocks, 1); sync_request() 2532 if (!bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && sync_request() 2536 return sync_blocks; sync_request() 2683 sync_blocks = 0; sync_request() 2691 if (sync_blocks == 0) { sync_request() 2693 &sync_blocks, still_degraded) && sync_request() 2697 BUG_ON(sync_blocks < (PAGE_SIZE>>9)); sync_request() 2698 if ((len >> 9) > sync_blocks) sync_request() 2699 len = sync_blocks<<9; sync_request() 2725 sync_blocks -= (len>>9); sync_request()
|
H A D | raid10.c | 2900 sector_t sync_blocks; sync_request() local 2948 &sync_blocks, 1); sync_request() 2953 &sync_blocks, 1); sync_request() 3050 &sync_blocks, 1); sync_request() 3051 if (sync_blocks < max_sync) sync_request() 3052 max_sync = sync_blocks; sync_request() 3056 /* yep, skip the sync_blocks here, but don't assume sync_request() 3088 &sync_blocks, still_degraded); sync_request() 3243 &sync_blocks, mddev->degraded) && sync_request() 3248 return sync_blocks + sectors_skipped; sync_request() 3250 if (sync_blocks < max_sync) sync_request() 3251 max_sync = sync_blocks; sync_request()
|
H A D | raid5.c | 5572 sector_t sync_blocks; sync_request() local 5586 &sync_blocks, 1); sync_request() 5618 !bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, 1) && sync_request() 5619 sync_blocks >= STRIPE_SECTORS) { sync_request() 5621 sync_blocks /= STRIPE_SECTORS; sync_request() 5623 return sync_blocks * STRIPE_SECTORS; /* keep things rounded to whole stripes */ sync_request() 5649 bitmap_start_sync(mddev->bitmap, sector_nr, &sync_blocks, still_degraded); sync_request()
|
Completed in 162 milliseconds