Re: [PATCH 001 of 3] md: Change md/bitmap file handling to use bmapto file blocks-fix

From: Neil Brown
Date: Mon May 15 2006 - 22:16:05 EST


On Monday May 15, akpm@xxxxxxxx wrote:
> NeilBrown <neilb@xxxxxxx> wrote:
> >
> > + do_sync_file_range(file, 0, LLONG_MAX,
> > + SYNC_FILE_RANGE_WRITE |
> > + SYNC_FILE_RANGE_WAIT_AFTER);
>
> That needs a SYNC_FILE_RANGE_WAIT_BEFORE too. Otherwise any dirty,
> under-writeback pages will remain dirty. I'll make that change.

Ahhh.. yes... that makes sense! Thanks :-)

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/