diff options
author | Raghavendra G <rgowdapp@redhat.com> | 2018-05-25 08:50:19 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2018-05-29 02:28:19 +0000 |
commit | 493f5aff9d66a83deb7cf3b3527d0d836fbd12ec (patch) | |
tree | 274c3b65bcb0f5904700bb2f4053cd90e6ec509a /extras | |
parent | d44d531db1045df7b810567b2441e9f6bcc6a5dd (diff) |
performance/read-ahead: throwaway read-ahead cache of all fds on writes on any fd
This is to make sure applications that read and write on different fds
of the same file work.
This patch also fixes two other issues:
1. while iterating over the list of open fds on an inode, initialize
tmp_file to 0 for each iteration before fd_ctx_get to make sure we
don't carry over the history from previous iterations.
2. remove flushing of cache in flush and fsync as by themselves, they
don't modify the data
Change-Id: Ib9959eb73702a3ebbf90badccaa16b2608050eff
Signed-off-by: Raghavendra G <rgowdapp@redhat.com>
Updates: bz#1512691
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions