mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Small clearification comment
This commit is contained in:
parent
36a4d24333
commit
e77c3742ac
1 changed files with 4 additions and 1 deletions
|
|
@ -332,7 +332,10 @@ int handle_write(struct snapraid_handle* handle, block_off_t file_pos, unsigned
|
|||
}
|
||||
|
||||
/* Here doesn't make sense to call posix_fadvise(..., POSIX_FADV_DONTNEED) because */
|
||||
/* at this time the data is still not yet written and it cannot be discharged. */
|
||||
/* at this time the data is still not yet written and it cannot be discharged */
|
||||
/* from the system cache. */
|
||||
/* This is at least true for Linux 2.6.21 that just ignores POSIX_FADV_DONTNEED */
|
||||
/* if the data is not yet written. */
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue