Lines Matching refs:writes
33 * ditto for writes, these limits are not hard, even
40 * persist before looking to see whether it is time to switch over to writes.
45 * write_batch_expire describes how long we want a stream of writes to run for.
47 * See, the problem is: we can send a lot of writes to disk cache / TCQ in
912 * is a set of reads or a set of writes.
985 const int writes = !list_empty(&ad->fifo_list[REQ_ASYNC]);
1019 if (ad->current_write_count == 0 || !writes)
1023 if (!(reads || writes)
1029 if (!(reads && writes && as_batch_expired(ad))) {
1031 * batch is still running or no reads or no writes
1047 if (reads && !writes)
1062 if (writes && ad->batch_data_dir == REQ_SYNC)
1064 * Last batch was a read, switch to writes
1082 if (writes) {