lkml.org 
[lkml]   [2015]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 1/5] fs: kiocb: introduce IOCB_DONT_DIRTY_PAGE flag for direct IO
As mentioned last time a big fat NAK for this one.  We generally
do not dirty kernel pages anywhere, so a flag that must alway be set
for default behavior just to prepare for a highy hypothetical user that
in the future might want to abuse the interface is a no-go.

Just make the dirtying behavior dependent on the iov_iter type:
dirty for ITER_IOVEC and do nothing for ITER_KVEC and ITER_BVEC.



\
 
 \ /
  Last update: 2015-06-05 17:21    [W:0.060 / U:1.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site