From b499968dbf811e0c3f5af8399f3f756e6854e7c0 Mon Sep 17 00:00:00 2001 From: anserper Date: Sat, 1 Aug 2009 16:49:50 +0000 Subject: [PATCH] added a comment wrt unaligned dio and write grants --- lustre/osc/osc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/osc/osc_request.c b/lustre/osc/osc_request.c index 1afeb13..f72b082 100644 --- a/lustre/osc/osc_request.c +++ b/lustre/osc/osc_request.c @@ -1641,7 +1641,7 @@ static int async_internal(int cmd, struct obd_export *exp, struct obdo *oa, /* Consume write credits even if doing a sync write - * otherwise we may run out of space on OST due to grant. */ - /* Badly aligned writes are not subject to write granting */ + /* FIXME: unaligned writes must use write grants too */ if (cmd == OBD_BRW_WRITE && pshift == 0) { client_obd_list_lock(&cli->cl_loi_list_lock); for (i = 0; i < page_count; i++) { -- 1.8.3.1