mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] FS-Cache: wake up write waiter after invalidating writes
@ 2016-05-17 13:35 Yan, Zheng
  2016-05-31 20:41 ` David Howells
  0 siblings, 1 reply; 2+ messages in thread
From: Yan, Zheng @ 2016-05-17 13:35 UTC (permalink / raw)
  To: linux-kernel; +Cc: dhowells, linux-cachefs, Yan, Zheng

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-31 20:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-17 13:35 [PATCH] FS-Cache: wake up write waiter after invalidating writes Yan, Zheng
2016-05-31 20:41 ` David Howells

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®