[Bug 206652] [ext2fs][patch] EXT4: sparse file fixes and mmap optimizations

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 11 00:35:14 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206652

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: pfg
Date: Thu Feb 11 00:34:12 UTC 2016
New revision: 295494
URL: https://svnweb.freebsd.org/changeset/base/295494

Log:
  Ext4: fix handling of files with sparse blocks before extent's index.

  This is ongoing work from Damjan Jovanovic to improve ext4 read support
  with sparse files:

  Keep track of the first and last block in each extent as it descends down
  the extent tree, thus being able to work out that some blocks are sparse
  earlier. This solves an issue on r293680.

  In ext4_bmapext() start supporting the runb parameter, which appears to be
  the number of adjacent blocks prior to the block being converted in the
  same way that runp is the number of blocks after, speding up random access
  to mmaped files.

  PR:   206652

Changes:
  head/sys/fs/ext2fs/ext2_bmap.c
  head/sys/fs/ext2fs/ext2_extents.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-fs mailing list