Displaying 3 results from an estimated 3 matches for "chunk_mask".
Did you mean:
chunk_map
2016 Jun 13
1
Slow RAID Check/high %iowait during check after updgrade from CentOS 6.5 -> CentOS 7.2
...C_SECTORS
*/
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c
index e3fd725..8a4791e 100644
--- a/drivers/md/raid10.c
+++ b/drivers/md/raid10.c
@@ -2912,6 +2912,13 @@ static sector_t raid10_sync_request(struct mddev *mddev, sector_t sector_nr,
max_sector > (sector_nr | chunk_mask))
max_sector = (sector_nr | chunk_mask) + 1;
+ /*
+ * If there is non-resync activity waiting for a turn,
+ * then let it though before starting on this new sync request.
+ */
+ if (conf->nr_waiting)
+ schedule_timeout_uninterruptible(...
2016 Jun 01
2
Slow RAID Check/high %iowait during check after updgrade from CentOS 6.5 -> CentOS 7.2
Kelly Lesperance wrote:
> I did some additional testing - I stopped Kafka on the host, and kicked
> off a disk check, and it ran at the expected speed overnight. I started
> kafka this morning, and the raid check's speed immediately dropped down to
> ~2000K/Sec.
>
> I then enabled the write-back cache on the drives (hdparm -W1 /dev/sd*).
> The raid check is now running
2001 Mar 13
5
is this null block OK?
...t;No rec passed to reserve_record, call Peter\n");
*(int *)0 = 0;
return ;
}
write_lock(&fd->fd_lock);
/* deal with 64K boundaries - set for KML records*/
if ( rec->chunked ) {
int chunk = 1 << fset->fset_chunkbits;
int chunk_mask = ~(chunk -1);
loff_t boundary;
offset = fd->fd_offset;
boundary = (fd->fd_offset + chunk - 1) & chunk_mask;
if ( fd->fd_offset + rec->size >= boundary ) {
offset = boundary;...