|
@@ -361,14 +361,11 @@ struct ext4_new_group_data {
|
|
so set the magic i_delalloc_reserve_flag after taking the
|
|
so set the magic i_delalloc_reserve_flag after taking the
|
|
inode allocation semaphore for */
|
|
inode allocation semaphore for */
|
|
#define EXT4_GET_BLOCKS_DELALLOC_RESERVE 0x0004
|
|
#define EXT4_GET_BLOCKS_DELALLOC_RESERVE 0x0004
|
|
- /* Call ext4_da_update_reserve_space() after successfully
|
|
|
|
- allocating the blocks */
|
|
|
|
-#define EXT4_GET_BLOCKS_UPDATE_RESERVE_SPACE 0x0008
|
|
|
|
/* caller is from the direct IO path, request to creation of an
|
|
/* caller is from the direct IO path, request to creation of an
|
|
unitialized extents if not allocated, split the uninitialized
|
|
unitialized extents if not allocated, split the uninitialized
|
|
extent if blocks has been preallocated already*/
|
|
extent if blocks has been preallocated already*/
|
|
-#define EXT4_GET_BLOCKS_DIO 0x0010
|
|
|
|
-#define EXT4_GET_BLOCKS_CONVERT 0x0020
|
|
|
|
|
|
+#define EXT4_GET_BLOCKS_DIO 0x0008
|
|
|
|
+#define EXT4_GET_BLOCKS_CONVERT 0x0010
|
|
#define EXT4_GET_BLOCKS_DIO_CREATE_EXT (EXT4_GET_BLOCKS_DIO|\
|
|
#define EXT4_GET_BLOCKS_DIO_CREATE_EXT (EXT4_GET_BLOCKS_DIO|\
|
|
EXT4_GET_BLOCKS_CREATE_UNINIT_EXT)
|
|
EXT4_GET_BLOCKS_CREATE_UNINIT_EXT)
|
|
/* Convert extent to initialized after direct IO complete */
|
|
/* Convert extent to initialized after direct IO complete */
|