search for: inode_dio_done

Displaying 3 results from an estimated 3 matches for "inode_dio_done".

2013 Jan 31
4
[RFC][PATCH 2/2] Btrfs: implement unlocked dio write
..._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__after_atomic_inc(); + if (rw == WRITE) { + mutex_unlock(&inode->i_mutex); + } else if (unlikely(test_bit(BTRFS_INODE_READDIO_NEED_LOCK, + &BT...
2011 Jun 24
10
[PATCH 0/9] remove i_alloc_sem V2
...Jan Kara to remove the i_alloc_sem abuse from ext4. changes from v1: - update the fat patch description - replace my ext4 truncate_lock 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 a...
2013 Oct 21
1
Kernel BUG in ocfs2_get_clusters_nocache
...9ad>] ? sched_clock_cpu+0xbd/0x110 [Fri Oct 18 10:52:28 2013] [<ffffffffa028b48a>] ocfs2_extent_map_get_blocks+0x5a/0x190 [ocfs2] [Fri Oct 18 10:52:28 2013] [<ffffffffa026eb3a>] ocfs2_direct_IO_get_blocks+0x5a/0x160 [ocfs2] [Fri Oct 18 10:52:28 2013] [<ffffffff811c87c1>] ? inode_dio_done+0x31/0x40 [Fri Oct 18 10:52:28 2013] [<ffffffff811ea90c>] do_blockdev_direct_IO+0xdfc/0x1fb0 [Fri Oct 18 10:52:28 2013] [<ffffffffa026eae0>] ? ocfs2_dio_end_io+0x110/0x110 [ocfs2] [Fri Oct 18 10:52:28 2013] [<ffffffff811ebb15>] __blockdev_direct_IO+0x55/0x60 [Fri Oct 18 10:52...