More utility code to replace stuff that's getting open coded.
Signed-off-by: Kent Overstreet
CC: Jens Axboe
---
fs/bio.c| 28
include/linux/bio.h | 1 +
2 files changed, 29 insertions(+)
diff --git a/fs/bio.c b/fs/bio.c
index d88ad77..65e6eac 100644
More utility code to replace stuff that's getting open coded.
Signed-off-by: Kent Overstreet koverstr...@google.com
CC: Jens Axboe ax...@kernel.dk
---
fs/bio.c| 28
include/linux/bio.h | 1 +
2 files changed, 29 insertions(+)
diff --git a/fs/bio.c
On Thu, Sep 20, 2012 at 05:47:11PM -0700, Tejun Heo wrote:
> On Mon, Sep 10, 2012 at 05:22:33PM -0700, Kent Overstreet wrote:
> > + bio_for_each_segment_all(bv, bio, i) {
> > + bv->bv_page = alloc_page(gfp_mask);
> > + if (!bv->bv_page) {
> > + while (bv--
On Mon, Sep 10, 2012 at 05:22:33PM -0700, Kent Overstreet wrote:
> + bio_for_each_segment_all(bv, bio, i) {
> + bv->bv_page = alloc_page(gfp_mask);
> + if (!bv->bv_page) {
> + while (bv-- != bio->bi_io_vec)
> +
On Mon, Sep 10, 2012 at 05:22:33PM -0700, Kent Overstreet wrote:
+ bio_for_each_segment_all(bv, bio, i) {
+ bv-bv_page = alloc_page(gfp_mask);
+ if (!bv-bv_page) {
+ while (bv-- != bio-bi_io_vec)
+
On Thu, Sep 20, 2012 at 05:47:11PM -0700, Tejun Heo wrote:
On Mon, Sep 10, 2012 at 05:22:33PM -0700, Kent Overstreet wrote:
+ bio_for_each_segment_all(bv, bio, i) {
+ bv-bv_page = alloc_page(gfp_mask);
+ if (!bv-bv_page) {
+ while (bv-- !=
More utility code to replace stuff that's getting open coded.
Signed-off-by: Kent Overstreet
CC: Jens Axboe
---
fs/bio.c| 28
include/linux/bio.h | 1 +
2 files changed, 29 insertions(+)
diff --git a/fs/bio.c b/fs/bio.c
index d88ad77..65e6eac 100644
More utility code to replace stuff that's getting open coded.
Signed-off-by: Kent Overstreet koverstr...@google.com
CC: Jens Axboe ax...@kernel.dk
---
fs/bio.c| 28
include/linux/bio.h | 1 +
2 files changed, 29 insertions(+)
diff --git a/fs/bio.c
8 matches
Mail list logo