lkml.org 
[lkml]   [2016]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] FS-Cache: wake up write waiter after invalidating writes
Date
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
---
fs/fscache/page.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/fs/fscache/page.c b/fs/fscache/page.c
index 3078b67..c8c4f79 100644
--- a/fs/fscache/page.c
+++ b/fs/fscache/page.c
@@ -887,6 +887,8 @@ void fscache_invalidate_writes(struct fscache_cookie *cookie)
put_page(results[i]);
}

+ wake_up_bit(&cookie->flags, 0);
+
_leave("");
}

--
2.5.5
\
 
 \ /
  Last update: 2016-05-17 15:41    [W:0.067 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site