RFC Clean up ext4_file_write()
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ext4: inline generic_file_aio_write() into ext4_file_write()fs/ | +17 | 1 reply | |
| 2/5 | ext4: move ext4_file_dio_write() into ext4_file_write()fs/ | +65 | 1 reply | |
| 3/5 | ext4: drop aio_mutex after grabbing i_mutex in ext4_file_write()fs/ | +9 | 1 reply | |
| 4/5 | ext4: factor out common code in ext4_file_write()fs/ | +13 | 1 reply | |
| 5/5 | ext4: add locking for O_APPEND writesfs/ | +29 | 2 replies |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Jan Kara |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/5] Clean up ext4_file_write()
This patch series makes ext4_file_write() a bit easier to understand by eliminating ext4_file_dio_write() and merging common code together.
In addition, fix an O_APPEND locking issue which Al Viro pointed out.
Theodore Ts'o (5):
ext4: inline generic_file_aio_write() into ext4_file_write()
ext4: move ext4_file_dio_write() into ext4_file_write()
ext4: drop aio_mutex after grabbing i_mutex in ext4_file_write()
ext4: factor out common code in ext4_file_write()
ext4: add locking for O_APPEND writes
fs/ext4/file.c | 153 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 78 insertions(+), 75 deletions(-)
Signature · 1 line
1.9.0