Displaying 3 results from an estimated 3 matches for "blockdev_direct_io".
Did you mean:
__blockdev_direct_io
2011 Jun 24
10
[PATCH 0/9] remove i_alloc_sem V2
...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 are the meat, the rest is
additonal tidyups in that area required for future improvements
--
To u...
2010 May 12
0
[PATCH 2/4] direct-io: add a hook for the fs to provide its own submit_bio function V3
...orker(int rw, struct kiocb *iocb, struct inode *inode,
}
} /* end iovec loop */
- if (ret == -ENOTBLK && (rw & WRITE)) {
+ if (ret == -ENOTBLK) {
/*
* The remaining part of the request will be
* be handled by buffered I/O when we return
@@ -1110,7 +1132,7 @@ ssize_t
__blockdev_direct_IO(int rw, struct kiocb *iocb, struct inode *inode,
struct block_device *bdev, const struct iovec *iov, loff_t offset,
unsigned long nr_segs, get_block_t get_block, dio_iodone_t end_io,
- int flags)
+ dio_submit_t submit_io, int flags)
{
int seg;
size_t size;
@@ -1197,7 +1219,8 @@ __blockdev...
2010 May 07
6
[PATCH 1/5] fs: allow short direct-io reads to be completed via buffered IO V2
V1->V2: Check to see if our current ppos is >= i_size after a short DIO read,
just in case it was actually a short read and we need to just return.
This is similar to what already happens in the write case. If we have a short
read while doing O_DIRECT, instead of just returning, fallthrough and try to
read the rest via buffered IO. BTRFS needs this because if we encounter a
compressed or