From e77c3742ac1c50d760e73411ad215f92d28e48c8 Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Sun, 10 Apr 2016 22:56:28 +0200 Subject: [PATCH] Small clearification comment --- cmdline/handle.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmdline/handle.c b/cmdline/handle.c index 4b3291b7..d936b101 100644 --- a/cmdline/handle.c +++ b/cmdline/handle.c @@ -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; }