Lines Matching refs:WRITE
81 if ((rw & WRITE) && !test_bit(MD_NO_BARRIER, &mdev->flags))
96 if (FAULT_ACTIVE(mdev, (rw & WRITE) ? DRBD_FAULT_MD_WR : DRBD_FAULT_MD_RD))
143 if (rw & WRITE) {
167 (unsigned long long)sector, (rw & WRITE) ? "WRITE" : "READ");
172 (unsigned long long)sector, (rw & WRITE) ? "WRITE" : "READ");
176 if (logical_block_size != MD_SECTOR_SIZE && !(rw & WRITE)) {
334 if (!drbd_md_sync_page_io(mdev, mdev->ldev, sector, WRITE))
683 bios[i]->bi_rw = WRITE;
686 submit_bio(WRITE, bios[i]);