On Sun, Oct 31, 2021 at 01:19:48PM +0000, Pavel Begunkov wrote: > On 10/29/21 23:32, Dave Chinner wrote: > > Yup, you just described RWF_HIPRI! Seriously, Pavel, did you read > > past this? I'll quote what I said again, because I've already > > addressed this argument to point out how silly it is: > > And you almost got to the initial point in your penult paragraph. A > single if for a single flag is not an issue, what is the problem is > when there are dozens of them and the overhead for it is not isolated, > so the kernel has to jump through dozens of those. This argument can be used to reject *ANY* new feature. For example, by using your argument, we should have rejected the addition of IOCB_WAITQ because it penalises the vast majority of IOs which do not use it. But we didn't. Because we see that while it may not be of use to US today, it's a generally useful feature for Linux to support. You say yourself that this feature doesn't slow down your use case, so why are you spending so much time and energy annoying the people who actually want to use it? Seriously. Stop arguing about something you actually don't care about. You're just making Linux less fun to work on.