elastio / elastio-snap

kernel module for taking block-level snapshots and incremental backups of Linux block devices
GNU General Public License v2.0
21 stars 6 forks source link

Get rid of the external userspace buffer when reading file extents #224

Closed skypodolsky closed 1 year ago

skypodolsky commented 1 year ago

Briefly the problem:

  1. In order to get file extents, we are required to call fiemap ioctl with buffer in user space
  2. Usually, we get this buffer from the `elioctl' ioctl, but
  3. When the server is restarted and the filesystem is remounted (cow_reopen, cow_reload functionality), we don't have such a buffer
  4. Hence, we need to find other options to obtain it

Relates to the epic #219

skypodolsky commented 1 year ago

Closed in PR #223