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

From
Theodore Ts'o <hidden>
Date
2015-07-22 03:56:09
Also in
linux-ext4, linux-fsdevel, lkml
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 <redacted>
Cc: "Theodore Ts'o" <redacted>
Cc: Andreas Dilger <redacted>
Cc: <redacted>
Thanks, applied.

						- Ted
Thread (1 message) 1 message, 1 author, last reply 2015-07-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help