public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Roberto Nibali <ratz@drugphish.ch>
To: linux-kernel@vger.kernel.org
Subject: Question about the ide related ioctl's BLK* in 2.5.7-pre1 kernel
Date: Thu, 14 Mar 2002 03:16:21 +0100	[thread overview]
Message-ID: <3C9007F5.1000003@drugphish.ch> (raw)

Hi,

What for are BLKRAGET, BLKFRAGET and BLKSECTGET still needed? I mean 
readahead doesn't seem to be exported anymore (at least through those 
interfaces). hdparm v4.6 does of course not like this (But this is a 
user space problem). Following output describes what I mean:

laphish:/usr/src/linux-2.5.7-pre1-orig # egrep -r 
"BLKRAGET|BLKFRAGET|BLKSECTGET" .
./arch/sparc64/kernel/ioctl32.c:HANDLE_IOCTL(BLKSECTGET, w_long)
./arch/mips64/kernel/ioctl32.c: 
IOCTL32_HANDLER(BLKSECTGET, w_long),
./arch/ppc64/kernel/ioctl32.c:HANDLE_IOCTL(BLKRAGET, w_long),
./arch/ppc64/kernel/ioctl32.c:HANDLE_IOCTL(BLKFRAGET, w_long),
./arch/ppc64/kernel/ioctl32.c:HANDLE_IOCTL(BLKSECTGET, w_long),
./arch/x86_64/ia32/ia32_ioctl.c:HANDLE_IOCTL(BLKSECTGET, w_long)
./drivers/acorn/block/mfmhd.c: 
case BLKSECTGET:
./drivers/block/blkpg.c: 
	case BLKSECTGET:
./drivers/md/lvm.c: *    09/02/1999 - changed BLKRASET and BLKRAGET in 
lvm_chr_ioctl() to
./include/linux/fs.h:#define BLKRAGET   _IO(0x12,99)	/* get current read ahead setting */
./include/linux/fs.h:#define BLKFRAGET  _IO(0x12,101)/* get filesystem 
(mm/filemap.c) read-ahead */
./include/linux/fs.h:#define BLKSECTGET _IO(0x12,103)/* get max sectors 
per request (ll_rw_blk.c) */
laphish:/usr/src/linux-2.5.7-pre1-orig #

At least BLKRAGET and BLKFRAGET don't seem to be used anymore.

Regards,
Roberto Nibali, ratz


             reply	other threads:[~2002-03-14  2:16 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14  2:16 Roberto Nibali [this message]
2002-03-14  2:25 ` Question about the ide related ioctl's BLK* in 2.5.7-pre1 kernel Andrew Morton
2002-03-14  8:00   ` Roberto Nibali
2002-03-14  8:13     ` Andrew Morton
2002-03-14 12:04       ` Martin Dalecki
2002-03-14 20:04         ` Roberto Nibali
2002-03-18 13:28           ` Martin Dalecki
2002-03-18 13:34             ` Jens Axboe
2002-03-18 13:43               ` Martin Dalecki
2002-03-18 13:51                 ` Jens Axboe
2002-03-14 12:12   ` Martin Dalecki
2002-03-14 12:43     ` Jeff Garzik
2002-03-14 12:51       ` Martin Dalecki
2002-03-14 17:38     ` Andrew Morton

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=3C9007F5.1000003@drugphish.ch \
    --to=ratz@drugphish.ch \
    --cc=linux-kernel@vger.kernel.org \
    /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