Forum: Ruby-core [ruby-trunk - Feature #8671][Open] support SEEK_DATA and SEEK_HOLE

C042517d59bed4761cc88681bf71fca8?d=identicon&s=25 Glass_saga (Masaki Matsushita) (Guest)
on 2013-07-23 11:31
(Received via mailing list)
Issue #8671 has been reported by Glass_saga (Masaki Matsushita).

----------------------------------------
Feature #8671: support SEEK_DATA and SEEK_HOLE
https://bugs.ruby-lang.org/issues/8671

Author: Glass_saga (Masaki Matsushita)
Status: Open
Priority: Normal
Assignee:
Category: core
Target version: next minor


SEEK_DATA and SEEK_HOLE are whences for lseek(2) supported by Linux
since version 3.1.
These are useful to deal with sparse files.
I propose that ruby supports these whences.
9361878d459f1709feec780518946ee5?d=identicon&s=25 naruse (Yui NARUSE) (Guest)
on 2013-07-24 07:31
(Received via mailing list)
Issue #8671 has been updated by naruse (Yui NARUSE).

Description updated
Status changed from Open to Assigned
Assignee set to matz (Yukihiro Matsumoto)
Target version changed from next minor to current: 2.1.0

It sounds good.
matz, how do you think?
----------------------------------------
Feature #8671: support SEEK_DATA and SEEK_HOLE
https://bugs.ruby-lang.org/issues/8671#change-40641

Author: Glass_saga (Masaki Matsushita)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: core
Target version: current: 2.1.0


SEEK_DATA and SEEK_HOLE are whences for lseek(2) supported by Linux
since version 3.1.
These are useful to deal with sparse files.
I propose that ruby supports these whences.

* http://d.hatena.ne.jp/meech/20110721/1311244529
* http://www.nminoru.jp/~nminoru/programming/sparse_file.html
02da662c083396641da96c1d32fc86ed?d=identicon&s=25 kosaki (Motohiro KOSAKI) (Guest)
on 2013-07-25 18:04
(Received via mailing list)
Issue #8671 has been updated by kosaki (Motohiro KOSAKI).


The patch looks good to me.
----------------------------------------
Feature #8671: support SEEK_DATA and SEEK_HOLE
https://bugs.ruby-lang.org/issues/8671#change-40665

Author: Glass_saga (Masaki Matsushita)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: core
Target version: current: 2.1.0


SEEK_DATA and SEEK_HOLE are whences for lseek(2) supported by Linux
since version 3.1.
These are useful to deal with sparse files.
I propose that ruby supports these whences.

* http://d.hatena.ne.jp/meech/20110721/1311244529
* http://www.nminoru.jp/~nminoru/programming/sparse_file.html
0ec4920185b657a03edf01fff96b4e9b?d=identicon&s=25 matz (Yukihiro Matsumoto) (Guest)
on 2013-07-27 09:14
(Received via mailing list)
Issue #8671 has been updated by matz (Yukihiro Matsumoto).

Assignee changed from matz (Yukihiro Matsumoto) to Glass_saga (Masaki
Matsushita)

We accept.  Go ahead.

Matz.

----------------------------------------
Feature #8671: support SEEK_DATA and SEEK_HOLE
https://bugs.ruby-lang.org/issues/8671#change-40712

Author: Glass_saga (Masaki Matsushita)
Status: Assigned
Priority: Normal
Assignee: Glass_saga (Masaki Matsushita)
Category: core
Target version: current: 2.1.0


SEEK_DATA and SEEK_HOLE are whences for lseek(2) supported by Linux
since version 3.1.
These are useful to deal with sparse files.
I propose that ruby supports these whences.

* http://d.hatena.ne.jp/meech/20110721/1311244529
* http://www.nminoru.jp/~nminoru/programming/sparse_file.html
This topic is locked and can not be replied to.