[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1463492149-69267-1-git-send-email-zyan@redhat.com>
Date: Tue, 17 May 2016 21:35:49 +0800
From: "Yan, Zheng" <zyan@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: dhowells@...hat.com, linux-cachefs@...hat.com,
"Yan, Zheng" <zyan@...hat.com>
Subject: [PATCH] FS-Cache: wake up write waiter after invalidating writes
Signed-off-by: "Yan, Zheng" <zyan@...hat.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
Powered by blists - more mailing lists