mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
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 <luo.zhengzheng@zte.com.cn> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #4961
This commit is contained in:
parent
a3600a106d
commit
834f1e426c
@ -361,7 +361,7 @@ typedef struct {
|
|||||||
* - the write occupies only one block
|
* - the write occupies only one block
|
||||||
* WR_COPIED:
|
* WR_COPIED:
|
||||||
* If we know we'll immediately be committing the
|
* 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.
|
* log record here for the data and copy the data in.
|
||||||
* WR_NEED_COPY:
|
* WR_NEED_COPY:
|
||||||
* Otherwise we don't allocate a buffer, and *if* we need to
|
* Otherwise we don't allocate a buffer, and *if* we need to
|
||||||
|
Loading…
Reference in New Issue
Block a user