search for: fiemap_extent_unknown

Displaying 3 results from an estimated 3 matches for "fiemap_extent_unknown".

2013 Feb 20
0
[RFC PATCH 1/3] fiemap: Introduce FIEMAP_FLAG_COW flag to map shared extents
...EMAP_FLAG_COW 0x00000004 /* map copy-on-write extents */ -#define FIEMAP_FLAGS_COMPAT (FIEMAP_FLAG_SYNC | FIEMAP_FLAG_XATTR) +#define FIEMAP_FLAGS_COMPAT (FIEMAP_FLAG_SYNC | FIEMAP_FLAG_XATTR | \ + FIEMAP_FLAG_COW) #define FIEMAP_EXTENT_LAST 0x00000001 /* Last extent in file. */ #define FIEMAP_EXTENT_UNKNOWN 0x00000002 /* Data location unknown. */ -- 1.7.9.5
2012 Aug 02
0
[PATCH 1/3] ALPHA: make sector size dynamic in extlinux
...- 1) - & ~(SECTOR_SIZE - 1); + fe->fe_length = (fe->fe_length + sector_size - 1) + & ~(sector_size - 1); } if ((fe->fe_logical | fe->fe_physical| fe->fe_length) & - (SECTOR_SIZE - 1)) + (sector_size - 1)) return -1; if (fe->fe_flags & (FIEMAP_EXTENT_UNKNOWN| @@ -232,9 +230,9 @@ static int sectmap_fie(int fd, sector_t *sectors, int nsectors) FIEMAP_EXTENT_UNWRITTEN)) return -1; - secp = sectors + (fe->fe_logical >> SECTOR_SHIFT); - sec = fe->fe_physical >> SECTOR_SHIFT; - nsec = fe->fe_length >> SECTOR_SHIFT;...
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512. Currently it fixes extlinux, MBR for GPT and ext partitions. Other code is unaffected. This set of patches has been tested on a read Dell machine running a beta firmware.