Revision 34920bcc xseg/peers/user/cached.c
b/xseg/peers/user/cached.c | ||
---|---|---|
437 | 437 |
ce_evicted->bucket_status[i] == DIRTY){ |
438 | 438 |
i++; |
439 | 439 |
} |
440 |
end = i; |
|
441 |
if (rw_range(peer, &ce_evicted->pr, ce_cio->h, 1, start, end) < 0){
|
|
440 |
end = i-1;
|
|
441 |
if (rw_range(peer, &ce_evicted->pr, 1, ce_cio->h, start, end) < 0){
|
|
442 | 442 |
ce_cio->state = CIO_FAILED; |
443 | 443 |
} |
444 | 444 |
__set_buckets_status(ce_evicted, start, end, WRITING); |
Also available in: Unified diff