]> git.baikalelectronics.ru Git - kernel.git/commit
direct-io: add flag to allow aio writes beyond i_size
authorChristoph Hellwig <hch@infradead.org>
Sun, 9 Feb 2014 23:27:11 +0000 (10:27 +1100)
committerDave Chinner <david@fromorbit.com>
Sun, 9 Feb 2014 23:27:11 +0000 (10:27 +1100)
commit48c7324ee4f9fc1b3d5708c6859029131704fd98
tree87f5681b75c36d4b6d395f92a82ffe7b1b1dde5a
parented4c0e42e851d5178cd0d1dc05de408325576e1c
direct-io: add flag to allow aio writes beyond i_size

Some filesystems can handle direct I/O writes beyond i_size safely,
so allow them to opt into receiving them.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/direct-io.c
include/linux/fs.h