public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* st.c SCSI Tape ioctl() bug
@ 2001-11-19  3:48 Jeff V. Merkey
  2001-11-21 21:58 ` Kai Makisara
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff V. Merkey @ 2001-11-19  3:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: jmerkey



Kai/Linux,

The ioctl() function to enable/disable code 15 comrpession has 
some problems.  I have a fix to the code, but it does not 
always seem to work properly, so I think you should do this 
review.  

If you call the ioctl() tape command from kernel space to 
enable and disable **DEFAULT** compression (not MTCOMPRESSION
ioctl, the MT_ST_DEF_COMPRESSION code path) there is a case
where the default_compression/compression_changed flags
can horribly out of sync.

Please take a look at this code.  We have gotten around it 
by simply calling MTCOMPRESSION everytime we need to use it,
however, but the other path seems busted, and it would be 
nice for it to work properly.

Thanks,

Jeff


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

end of thread, other threads:[~2001-11-21 22:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-19  3:48 st.c SCSI Tape ioctl() bug Jeff V. Merkey
2001-11-21 21:58 ` Kai Makisara
2001-11-21 22:14   ` Jeff Merkey

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