Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3af127
)
added a comment wrt unaligned dio and write grants
author
anserper
<anserper>
Sat, 1 Aug 2009 16:49:50 +0000
(16:49 +0000)
committer
anserper
<anserper>
Sat, 1 Aug 2009 16:49:50 +0000
(16:49 +0000)
lustre/osc/osc_request.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_request.c
b/lustre/osc/osc_request.c
index
1afeb13
..
f72b082
100644
(file)
--- 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++) {