]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/writeback.h
[PATCH] writeback: fix range handling
[linux-2.6-omap-h63xx.git] / include / linux / writeback.h
index 56f92fcbe94aa9a82508b5db1a878c43cd348699..9e38b566d0e77325d50fb9bfd52b28898c753349 100644 (file)
@@ -50,14 +50,15 @@ struct writeback_control {
         * a hint that the filesystem need only write out the pages inside that
         * byterange.  The byte at `end' is included in the writeout request.
         */
-       loff_t start;
-       loff_t end;
+       loff_t range_start;
+       loff_t range_end;
 
        unsigned nonblocking:1;         /* Don't get stuck on request queues */
        unsigned encountered_congestion:1; /* An output: a queue is full */
        unsigned for_kupdate:1;         /* A kupdate writeback */
        unsigned for_reclaim:1;         /* Invoked from the page allocator */
        unsigned for_writepages:1;      /* This is a writepages() call */
+       unsigned range_cyclic:1;        /* range_start is cyclic */
 };
 
 /*