summaryrefslogtreecommitdiffstats
path: root/xlators/performance
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance')
-rw-r--r--xlators/performance/quick-read/src/quick-read.c2
-rw-r--r--xlators/performance/read-ahead/src/read-ahead.c2
-rw-r--r--xlators/performance/write-behind/src/write-behind.c8
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 fb12b24c..7db1e686 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 e49709c0..6d7641e6 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 2bedac38..1555a79a 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.
*/