From: Chris Wedgwood <cw@f00f.org>
To: linux@horizon.com
Cc: linux-fsdevel@vger.kernel.org
Subject: Re: SEEK_HOLE and SEEK_DATA
Date: Fri, 3 Feb 2006 10:08:21 -0800 [thread overview]
Message-ID: <20060203180821.GA4739@taniwha.stupidest.org> (raw)
In-Reply-To: <20060202090349.31898.qmail@science.horizon.com>
On Thu, Feb 02, 2006 at 04:03:49AM -0500, linux@horizon.com wrote:
> Solaris 10 has added a moderately useful new feature... lseek now
> supports whence = 3 (SEEK_DATA) and 4 (SEEK_HOLE). What these do is
> advance the file pointer to the start of the next run of the
> appropriate kind past the given (absolute) offset.
Some filesystems in linux (XFS for one, probably others?) already have
a mechanism (albeit more complex the way it's exposed) to find holes &
data.
next prev parent reply other threads:[~2006-02-03 18:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-02 9:03 SEEK_HOLE and SEEK_DATA linux
2006-02-03 18:08 ` Chris Wedgwood [this message]
2006-02-03 18:23 ` Szakacsits Szabolcs
2006-02-03 19:37 ` Chris Wedgwood
2006-02-03 22:00 ` Bryan Henderson
2006-02-03 23:41 ` Szakacsits Szabolcs
2006-02-03 23:53 ` Chris Wedgwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060203180821.GA4739@taniwha.stupidest.org \
--to=cw@f00f.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux@horizon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).