diff options
author | luozhengzheng <[email protected]> | 2016-08-12 17:41:28 +0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-08-12 10:30:16 -0700 |
commit | 834f1e426caf4e752d2411be6f1c6138f479c96d (patch) | |
tree | b2e8247a399d5a008a06a3b3f503e233c89e3835 /include/sys/zil.h | |
parent | a3600a106deead9ef33466ab95a87cb64e7b995b (diff) |
Fix a typo in ZIL write handling comment
The following comment in zil.h
* WR_COPIED:
* If we know we'll immediately be committing the
* transaction (FSYNC or FDSYNC), then we allocate a larger
* log record here for the data and copy the data in.
The word "the" should be "then".
Signed-off-by: luozhengzheng <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #4961
Diffstat (limited to 'include/sys/zil.h')
-rw-r--r-- | include/sys/zil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/zil.h b/include/sys/zil.h index 1f04d1833..ed0810aa1 100644 --- a/include/sys/zil.h +++ b/include/sys/zil.h @@ -361,7 +361,7 @@ typedef struct { * - the write occupies only one block * WR_COPIED: * If we know we'll immediately be committing the - * transaction (FSYNC or FDSYNC), the we allocate a larger + * transaction (FSYNC or FDSYNC), then we allocate a larger * log record here for the data and copy the data in. * WR_NEED_COPY: * Otherwise we don't allocate a buffer, and *if* we need to |