diff options
Diffstat (limited to 'xlators/performance')
-rw-r--r-- | xlators/performance/quick-read/src/quick-read.c | 2 | ||||
-rw-r--r-- | xlators/performance/read-ahead/src/read-ahead.c | 2 | ||||
-rw-r--r-- | xlators/performance/write-behind/src/write-behind.c | 8 |
3 files changed, 6 insertions, 6 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c index fb12b24c04c..7db1e686f7d 100644 --- a/xlators/performance/quick-read/src/quick-read.c +++ b/xlators/performance/quick-read/src/quick-read.c @@ -745,7 +745,7 @@ qr_open (call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags, { /* * we really need not set this flag, since open is - * not yet unwounded. + * not yet unwound. */ qr_fd_ctx->open_in_transit = 1; diff --git a/xlators/performance/read-ahead/src/read-ahead.c b/xlators/performance/read-ahead/src/read-ahead.c index e49709c0ea8..6d7641e6909 100644 --- a/xlators/performance/read-ahead/src/read-ahead.c +++ b/xlators/performance/read-ahead/src/read-ahead.c @@ -21,7 +21,7 @@ TODO: - handle O_DIRECT - maintain offset, flush on lseek - - ensure efficient memory managment in case of random seek + - ensure efficient memory management in case of random seek */ #ifndef _CONFIG_H diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c index 2bedac38f6c..1555a79a75b 100644 --- a/xlators/performance/write-behind/src/write-behind.c +++ b/xlators/performance/write-behind/src/write-behind.c @@ -312,7 +312,7 @@ wb_file_create (xlator_t *this, fd_t *fd, int32_t flags) INIT_LIST_HEAD (&file->passive_requests); /* - fd_ref() not required, file should never decide the existance of + fd_ref() not required, file should never decide the existence of an fd */ file->fd= fd; @@ -1371,7 +1371,7 @@ wb_open_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, LOCK (&file->lock); { - /* If O_DIRECT then, we disable chaching */ + /* If O_DIRECT then, we disable caching */ if (((flags & O_DIRECT) == O_DIRECT) || ((flags & O_ACCMODE) == O_RDONLY) || (((flags & O_SYNC) == O_SYNC) @@ -1449,7 +1449,7 @@ wb_create_cbk (call_frame_t *frame, void *cookie, xlator_t *this, LOCK (&file->lock); { - /* If O_DIRECT then, we disable chaching */ + /* If O_DIRECT then, we disable caching */ if (frame->local) { if (((flags & O_DIRECT) == O_DIRECT) || ((flags & O_ACCMODE) == O_RDONLY) @@ -2025,7 +2025,7 @@ wb_process_queue (call_frame_t *frame, wb_file_t *file) { /* * make sure requests are marked for unwinding and adjacent - * continguous write buffers (each of size less than that of + * contiguous write buffers (each of size less than that of * an iobuf) are packed properly so that iobufs are filled to * their maximum capacity, before calling __wb_mark_winds. */ |