Displaying 5 results from an estimated 5 matches for "new_range".
Did you mean:
  netrange
  
2020 May 22
0
[PATCH nbdkit] DDRESCUE: MISC FIXES
...-105,19 +106,17 @@ parse_mapfile (const char *filename)
         return -1;
       }
       if (status == '+') {
-        int i = map.ranges_count++;
-        map.ranges = realloc(map.ranges, map.ranges_count * sizeof(struct range));
-        if (map.ranges == NULL) {
+        struct range new_range = { .start = offset, .end = offset + length - 1,
+                                   .size = length, .status = status };
+
+        if (ranges_append (&map.ranges, new_range) == -1) {
           nbdkit_error ("%s: ddrescue: realloc: %m", filename);
           goto out;
         }
-...
2020 May 22
3
[PATCH nbdkit] ddrescue: Miscellaneous fixes.
A few fixes and a possible enhancement to the ddrescue filter.  If you
think these are all OK, I will squash it into your patch and push it.
Rich.
2009 Feb 13
44
[PATCH 0/40] ocfs2: Detach ocfs2 metadata I/O from struct inode
The following series of patches attempts to detach metadata I/O from
struct inode.   They are currently tied together pretty tightly.
Metadata reads happen via the ocfs2_read_blocks() functions, writes via
both jbd2 and ocfs2_write_blocks().
- Each inode has a cache of associated metadata blocks stored on its
  ip_metadata_cache member.  The ocfs2_read/write_blocks() functions
  take a struct
2009 Mar 27
42
[PATCH 00/42] ocfs2: Add reflink file support. V1
Hi all,
	So I have finally finished the v1 of reflink for ocfs2. It has some 
bugs that I am still investigating, but the schema is almost there. So 
I'd like to send it out first for review. And Tristan and I will 
continue to work on the stability of the code.
The general information for reflink, please see 
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.
For the design doc, please
2009 Apr 03
42
[PATCH 00/42] ocfs2: Add reflink file support. V2
Hi all,
	Change from v1 to v2: bug fix and metadata/credits reservation 
improvement.
The general information for reflink, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/Reflink.
For the design doc, please see
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/RefcountTrees
http://oss.oracle.com/osswiki/OCFS2/DesignDocs/ReflinkOperation