Re: [PATCH 1/2] ext4: replace ext4_io_submit->io_op with ->io_wbc

2015-07-21 Thread Theodore Ts'o
On Tue, Jun 16, 2015 at 06:53:12PM -0400, Tejun Heo wrote:
> ext4_io_submit_init() takes the pointer to writeback_control to test
> its sync_mode and determine between WRITE and WRITE_SYNC and records
> the result in ->io_op.  This patch makes it record the pointer
> directly and moves the test to ext4_io_submit().
> 
> This doesn't cause any noticeable differences now but having
> writeback_control available throughout IO submission path will be
> depended upon by the planned cgroup writeback support.
> 
> Signed-off-by: Tejun Heo 
> Cc: "Theodore Ts'o" 
> Cc: Andreas Dilger 
> Cc: linux-e...@vger.kernel.org

Thanks, applied.

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


Re: [PATCH 1/2] ext4: replace ext4_io_submit-io_op with -io_wbc

2015-07-21 Thread Theodore Ts'o
On Tue, Jun 16, 2015 at 06:53:12PM -0400, Tejun Heo wrote:
 ext4_io_submit_init() takes the pointer to writeback_control to test
 its sync_mode and determine between WRITE and WRITE_SYNC and records
 the result in -io_op.  This patch makes it record the pointer
 directly and moves the test to ext4_io_submit().
 
 This doesn't cause any noticeable differences now but having
 writeback_control available throughout IO submission path will be
 depended upon by the planned cgroup writeback support.
 
 Signed-off-by: Tejun Heo t...@kernel.org
 Cc: Theodore Ts'o ty...@mit.edu
 Cc: Andreas Dilger adilger.ker...@dilger.ca
 Cc: linux-e...@vger.kernel.org

Thanks, applied.

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