On Tue, Oct 09, 2012 at 10:40:11PM -0500, Eric Sandeen wrote: > On older systems we may not have preadv/pwritev and/or > sync_file_range. > > Add the configure magic, and stub out the code > where needed. > > (sync_file_range just needed a better test; preadv/pwritev > took a little more rearranging) > > And fix a couple typos ("numberic") while we're at it. > > Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> > --- > > V2: add -DHAVE_PWRITEV and use that test in io/pwrite.c > rather than HAVE_PREADV ..... > +# Also implies PWRITEV > +ifeq ($(HAVE_PREADV),yes) > +LCFLAGS += -DHAVE_PREADV -DHAVE_PWRITEV > +endif Nice solution ;) Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx> -- Dave Chinner david@xxxxxxxxxxxxx _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs