From: "Yan, Zheng" <zyan@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: dhowells@redhat.com, linux-cachefs@redhat.com, "Yan,
Zheng" <zyan@redhat.com>
Subject: [PATCH] FS-Cache: wake up write waiter after invalidating writes
Date: Tue, 17 May 2016 21:35:49 +0800 [thread overview]
Message-ID: <1463492149-69267-1-git-send-email-zyan@redhat.com> (raw)
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
next reply other threads:[~2016-05-17 13:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-17 13:35 Yan, Zheng [this message]
2016-05-31 20:41 ` David Howells
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1463492149-69267-1-git-send-email-zyan@redhat.com \
--to=zyan@redhat.com \
--cc=dhowells@redhat.com \
--cc=linux-cachefs@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®