From 64a36984086852c97a0bb764671f0b5174c3a167 Mon Sep 17 00:00:00 2001 From: tianzy Date: Mon, 28 Jul 2008 04:53:51 +0000 Subject: [PATCH] Branch b1_8 Have O_DIRECT honor the quota b=16125 i=johann i=tom.wang --- lustre/llite/rw26.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/llite/rw26.c b/lustre/llite/rw26.c index 5f57c2e..0a92f29 100644 --- a/lustre/llite/rw26.c +++ b/lustre/llite/rw26.c @@ -177,7 +177,7 @@ static ssize_t ll_direct_IO_26_seg(int rw, struct inode *inode, /* To the end of the page, or the length, whatever is less */ pga[i].count = min_t(int, CFS_PAGE_SIZE -(file_offset & ~CFS_PAGE_MASK), length); - pga[i].flag = 0; + pga[i].flag = OBD_BRW_SYNC; if (rw == READ) POISON_PAGE(pages[i], 0x0d); } -- 1.8.3.1