View | Details | Raw Unified | Return to bug 230
Collapse All | Expand All

(-)/usr/tmp/TmpDir.12236-0/linux/fs/xfs/pagebuf/page_buf.c_1.112 (+5 lines)
 Lines 2085-2090    Link Here 
2085
	page_buf_t		*pb;
2085
	page_buf_t		*pb;
2086
	struct list_head	*curr, *next, tmp;
2086
	struct list_head	*curr, *next, tmp;
2087
	int			pincount = 0;
2087
	int			pincount = 0;
2088
	int			io_count = 0;
2088
2089
2089
	spin_lock(&pbd_delwrite_lock);
2090
	spin_lock(&pbd_delwrite_lock);
2090
	INIT_LIST_HEAD(&tmp);
2091
	INIT_LIST_HEAD(&tmp);
 Lines 2130-2135    Link Here 
2130
		pb->pb_flags |= PBF_WRITE;
2131
		pb->pb_flags |= PBF_WRITE;
2131
2132
2132
		__pagebuf_iorequest(pb);
2133
		__pagebuf_iorequest(pb);
2134
		io_count++;
2135
		/* run the disk task queues for every 32 iorequests */
2136
		if(io_count % 32)
2137
			pagebuf_run_queues(NULL);
2133
2138
2134
		spin_lock(&pbd_delwrite_lock);
2139
		spin_lock(&pbd_delwrite_lock);
2135
	}
2140
	}

Return to bug 230