public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question about the ide related ioctl's BLK* in 2.5.7-pre1 kernel
@ 2002-03-14  2:16 Roberto Nibali
  2002-03-14  2:25 ` Andrew Morton
  0 siblings, 1 reply; 14+ messages in thread
From: Roberto Nibali @ 2002-03-14  2:16 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-03-18 13:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-14  2:16 Question about the ide related ioctl's BLK* in 2.5.7-pre1 kernel Roberto Nibali
2002-03-14  2:25 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox