Thread (5 messages) 5 messages, 4 authors, 2006-11-29

Re: [RFC][PATCH 0/3] Extent base online defrag

From: Takashi Sato <hidden>
Date: 2006-11-17 12:40:03
Also in: linux-fsdevel

Hi,
quoted
quoted
- Specify the target area in a file using the following structure:
  struct ext3_ext_defrag_data {
  loff_t start_offset; /* start offset to defrag in bytes */
  loff_t defrag_size;  /* size of defrag in bytes */
  }
  It uses loff_t so that the size of the structure is identical on
  both 32 bits and 64 bits architecture.
  Block allocation, including searching for the free contiguous
  blocks, is implemented in kernel.
NAK the ioctl approach.
I agree it shouldn't go into mainline this way, but while the details of
the proper interface are debated, this implementation at least allows
the core function to be tested & reviewed.
quoted
People who like ioctls are just holdovers from non-Linux OS's.
Thank you for your comments.
My patches are at the experimental phase and the ioctl approach is
the provisional solution.
But I intend to continue this work with ioctl approach, if there are no
actual problems.

Cheers, Takashi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help