Hi Yan,
zero_user_segment() has invoked flush_dcache_page() for us, we donnot
wanna flush d-cache twice.
Cheers,
Li Wang
On 11/13/2013 09:19 PM, Yan, Zheng wrote:
On Wed, Nov 13, 2013 at 3:22 PM, Li Wang wrote:
If the length of data to be read in readpage() is exactly
PAGE_CACHE_SIZE,
On Wed, Nov 13, 2013 at 3:22 PM, Li Wang wrote:
> If the length of data to be read in readpage() is exactly
> PAGE_CACHE_SIZE, the original code does not flush d-cache
> for data consistency after finishing reading. This patches fixes
> this.
>
> Signed-off-by: Li Wang
> ---
> fs/ceph/addr.c |
On Wed, Nov 13, 2013 at 3:22 PM, Li Wang liw...@ubuntukylin.com wrote:
If the length of data to be read in readpage() is exactly
PAGE_CACHE_SIZE, the original code does not flush d-cache
for data consistency after finishing reading. This patches fixes
this.
Signed-off-by: Li Wang
Hi Yan,
zero_user_segment() has invoked flush_dcache_page() for us, we donnot
wanna flush d-cache twice.
Cheers,
Li Wang
On 11/13/2013 09:19 PM, Yan, Zheng wrote:
On Wed, Nov 13, 2013 at 3:22 PM, Li Wang liw...@ubuntukylin.com wrote:
If the length of data to be read in readpage() is
If the length of data to be read in readpage() is exactly
PAGE_CACHE_SIZE, the original code does not flush d-cache
for data consistency after finishing reading. This patches fixes
this.
Signed-off-by: Li Wang
---
fs/ceph/addr.c |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
If the length of data to be read in readpage() is exactly
PAGE_CACHE_SIZE, the original code does not flush d-cache
for data consistency after finishing reading. This patches fixes
this.
Signed-off-by: Li Wang liw...@ubuntukylin.com
---
fs/ceph/addr.c |8 ++--
1 file changed, 6
6 matches
Mail list logo