Displaying 4 results from an estimated 4 matches for "i_dio_count".
2011 Jun 24
10
[PATCH 0/9] remove i_alloc_sem V2
...ock patch with Jan''s rewrite of ext4_page_mkwrite
- do not use wait_on_bit, but replace it with an opencoded hashed waitqueue
- rename inode_dio_wake to inode_dio_done
- add kerneldoc comments for inode_dio_wait and inode_dio_done
- simplify the blockdev_direct_IO prototype
- move the i_dio_count decrement into the ->end_io handler if present to
make i_dio_count useful for filesystems delaying AIO completion
- reorder the patch series - patches 1 to 5 are the meat, the rest is
additonal tidyups in that area required for future improvements
--
To unsubscribe from this list: send th...
2013 Jan 31
4
[RFC][PATCH 2/2] Btrfs: implement unlocked dio write
...= iocb->ki_filp;
struct inode *inode = file->f_mapping->host;
int flags = 0;
- bool wakeup = false;
+ bool wakeup = true;
int ret;
if (check_direct_IO(BTRFS_I(inode)->root, rw, iocb, iov,
offset, nr_segs))
return 0;
- if (rw == READ) {
- atomic_inc(&inode->i_dio_count);
- smp_mb__after_atomic_inc();
- if (unlikely(test_bit(BTRFS_INODE_READDIO_NEED_LOCK,
- &BTRFS_I(inode)->runtime_flags))) {
- inode_dio_done(inode);
- flags = DIO_LOCKING | DIO_SKIP_HOLES;
- } else {
- wakeup = true;
- }
+ atomic_inc(&inode->i_dio_count);
+ smp_mb_...
2013 Jun 03
0
[virtio_blk] BUG: unable to handle kernel paging request at ff7f5784
...e4aa937ec75df0eea0bee03bffa3303ad36c986b --
git bisect good dc2978537d4353ef173e99b28287effeeb019dba # 662 2013-06-03 15:20:31 null_blk: multi queue aware block test driver
git bisect bad a9e8919f71fcbd545812f6bcdc53eaf7747a5281 # 654 2013-06-03 15:21:05 direct-io: only inc/dec inode->i_dio_count for file systems
git bisect bad b70aa55ec9532d5f5d3e367e4cad8997b1135f86 # 676 2013-06-03 15:21:41 virtio_blk: blk-mq support
git bisect good 00060f37d61cce84b05ab265a1d3532fb83b1002 # 3132 2013-06-03 15:22:15 mtip32xx: basic mq support
git bisect good 00060f37d61cce84b05ab265a1d3532fb83b...
2013 Jun 03
0
[virtio_blk] BUG: unable to handle kernel paging request at ff7f5784
...e4aa937ec75df0eea0bee03bffa3303ad36c986b --
git bisect good dc2978537d4353ef173e99b28287effeeb019dba # 662 2013-06-03 15:20:31 null_blk: multi queue aware block test driver
git bisect bad a9e8919f71fcbd545812f6bcdc53eaf7747a5281 # 654 2013-06-03 15:21:05 direct-io: only inc/dec inode->i_dio_count for file systems
git bisect bad b70aa55ec9532d5f5d3e367e4cad8997b1135f86 # 676 2013-06-03 15:21:41 virtio_blk: blk-mq support
git bisect good 00060f37d61cce84b05ab265a1d3532fb83b1002 # 3132 2013-06-03 15:22:15 mtip32xx: basic mq support
git bisect good 00060f37d61cce84b05ab265a1d3532fb83b...