Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1191207 > unrolled thread
| Started by | Tejun Heo <tj@kernel.org> |
|---|---|
| First post | 2015-07-23 20:30 +0200 |
| Last post | 2015-07-23 20:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH block/for-linus] block: export bio_associate_*() and wbc_account_io() Tejun Heo <tj@kernel.org> - 2015-07-23 20:30 +0200
Re: [PATCH block/for-linus] block: export bio_associate_*() and wbc_account_io() Chris Mason <clm@fb.com> - 2015-07-23 20:40 +0200
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Date | 2015-07-23 20:30 +0200 |
| Subject | [PATCH block/for-linus] block: export bio_associate_*() and wbc_account_io() |
| Message-ID | <pPtpL-6hb-1@gated-at.bofh.it> |
bio_associate_blkcg(), bio_associate_current() and wbc_account_io() are used to implement cgroup writeback support for filesystems and thus need to be exported. Export them. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> --- Hello, Jens. While this change isn't strictly necessary for 4.2, I think it'd better to push it through for-linus so that it's there before any filesystem specific changes are merged. Thanks. block/bio.c | 2 ++ fs/fs-writeback.c | 1 + 2 files changed, 3 insertions(+) --- a/block/bio.c +++ b/block/bio.c @@ -2009,6 +2009,7 @@ int bio_associate_blkcg(struct bio *bio, bio->bi_css = blkcg_css; return 0; } +EXPORT_SYMBOL_GPL(bio_associate_blkcg); /** * bio_associate_current - associate a bio with %current @@ -2039,6 +2040,7 @@ int bio_associate_current(struct bio *bi bio->bi_css = task_get_css(current, blkio_cgrp_id); return 0; } +EXPORT_SYMBOL_GPL(bio_associate_current); /** * bio_disassociate_task - undo bio_associate_current() --- a/fs/fs-writeback.c +++ b/fs/fs-writeback.c @@ -702,6 +702,7 @@ void wbc_account_io(struct writeback_con else wbc->wb_tcand_bytes -= min(bytes, wbc->wb_tcand_bytes); } +EXPORT_SYMBOL_GPL(wbc_account_io); /** * inode_congested - test whether an inode is congested -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Chris Mason <clm@fb.com> |
|---|---|
| Date | 2015-07-23 20:40 +0200 |
| Message-ID | <pPtzs-6sr-35@gated-at.bofh.it> |
| In reply to | #1191207 |
On Thu, Jul 23, 2015 at 02:27:09PM -0400, Tejun Heo wrote: > bio_associate_blkcg(), bio_associate_current() and wbc_account_io() > are used to implement cgroup writeback support for filesystems and > thus need to be exported. Export them. Thanks, these were the only three I needed on the btrfs side. -chris -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web