From: anserper Date: Sat, 1 Aug 2009 16:49:50 +0000 (+0000) Subject: added a comment wrt unaligned dio and write grants X-Git-Tag: v1_8_2_01~1^2~186 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b499968dbf811e0c3f5af8399f3f756e6854e7c0;p=fs%2Flustre-release.git added a comment wrt unaligned dio and write grants --- 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++) {