From e94ec659e70b40174122807eaaa0c27bb962973b Mon Sep 17 00:00:00 2001 From: phil Date: Thu, 14 Aug 2003 05:54:47 +0000 Subject: [PATCH] merge b_filterio into b_llpio; b_filterio soon to be deleted, given that b_llpio is a superset --- lustre/llite/rw24.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lustre/llite/rw24.c b/lustre/llite/rw24.c index d342ab8..a73f315 100644 --- a/lustre/llite/rw24.c +++ b/lustre/llite/rw24.c @@ -317,8 +317,9 @@ static int ll_direct_IO_24(int rw, struct inode *inode, struct kiobuf *iobuf, if (!lsm || !lsm->lsm_object_id) RETURN(-EBADF); - if ((iobuf->offset & (blocksize - 1)) || - (iobuf->length & (blocksize - 1))) + /* FIXME: io smaller than PAGE_SIZE is broken on ia64 */ + if ((iobuf->offset & (PAGE_SIZE - 1)) || + (iobuf->length & (PAGE_SIZE - 1))) RETURN(-EINVAL); set = ptlrpc_prep_set(); -- 1.8.3.1