lkml.org 
[lkml]   [2015]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2] direct-io: only inc/dec inode->i_dio_count for file systems
Date
Hi,

A proper patch series posting of the patch to skip inode dio counts
where we don't need them. Performance results and general notes in
patch #1. We can take this a bit further if we want to push this
truncate locking into the caller, but I'd like to keep that as a
separate patch series instead.

Changes since v2:

- Changed flag to DIO_SKIP_DIO_COUNT. Patch 2+3 will use this for
skipping the extra inc/dec for btrfs and ext4, so better rename it
to something that better tells what is happening in the deep mess
that is dio.

- Have inode_dio_inc/dec() helpers. Again, this better tells the caller
what is going on.

--
Jens Axboe



\
 
 \ /
  Last update: 2015-04-16 00:41    [W:0.058 / U:0.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site