Retire .write/.read file operations

The .write/.read file operations callbacks can be retired since
support for .read_iter/.write_iter and .aio_read/.aio_write has
been added.  The vfs_write()/vfs_read() entry functions will
select the correct interface for the kernel.  This is desirable
because all VFS write/read operations now rely on common code.

This change also add the generic write checks to make sure that
ulimits are enforced correctly on write.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Closes #5587 
Closes #5673
This commit is contained in:
Chunwei Chen
2017-01-27 10:43:39 -08:00
committed by Brian Behlendorf
parent 986dd8aacc
commit 933ec99951
6 changed files with 132 additions and 37 deletions
+3 -2
View File
@@ -458,8 +458,9 @@ tests = ['inuse_004_pos']
post =
# DISABLED: needs investigation
#[tests/functional/large_files]
#tests = ['large_files_001_pos']
# large_files_001_pos
[tests/functional/large_files]
tests = ['large_files_002_pos']
# DISABLED: needs investigation
#[tests/functional/largest_pool]