On Tue, 18 May 2010 16:21:00 -0300 Daniel Henrique Debonzi <debonzi@xxxxxxxxxxxxxxxxxx> wrote: > One idea to solve it and don't make necessary to touch all backing > stores to avoid this issue is to create a new template like bs_rdrw_sync > O_SYNC and O_DIRECT flags on open, and don't have the options as this > patch does. This way I got want I am interested in and don't need to > involve all the other stuff. What are your thoughts about it? Or a new option to touch only bs_rdrw. However, I want to know why you want to use O_SYNC and O_DIRECT. - what's the advantage of O_SYNC compared with the current approach (sync_file after write)? notably faster? - why do you want to use O_DIRECT with bd_rdrw? bd_aio does aio with O_DIRECT? It's not enough for you? -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html