/* We regard a request as SYNC, if it's either a read or has the SYNC bit set (in which case it could also be direct WRITE).  */
static bool cfq_bio_sync(struct bio *bio)
/* We regard a request as SYNC, if it's either a read or has the SYNC bit set (in which case it could also be direct WRITE).  */
static bool cfq_bio_sync(struct bio *bio)
{
	return bio_data_dir(bio) == READ || bio_rw_flagged(bio, BIO_RW_SYNCIO);
}