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

From: Andrew Morton
Date: Mon May 15 2006 - 21:57:39 EST


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.
-
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/