Re: [PATCH] ide: can't use SSD/non-rotational queue flag for all CFA devices

From: Bartlomiej Zolnierkiewicz
Date: Tue Jan 06 2009 - 12:15:14 EST


On Monday 05 January 2009, Sergei Shtylyov wrote:
> Hello.
>
> Bartlomiej Zolnierkiewicz wrote:
>
> > Some rotating disks also present themselves as CFA devices.
> >
> > Reported-by: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
> > Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
> >
>
> Acked-by: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx>
>
> > Index: b/drivers/ide/ide-disk.c
> > ===================================================================
> > --- a/drivers/ide/ide-disk.c
> > +++ b/drivers/ide/ide-disk.c
> > @@ -633,7 +633,7 @@ static void ide_disk_setup(ide_drive_t *
> > printk(KERN_INFO "%s: max request size: %dKiB\n", drive->name,
> > q->max_sectors / 2);
> >
> > - if (ata_id_is_ssd(id) || ata_id_is_cfa(id))
> > + if (ata_id_is_ssd(id))
> > queue_flag_set_unlocked(QUEUE_FLAG_NONROT, q);
> >
> > /* calculate drive capacity, and select LBA if possible */
> > NâÂÂÃÃrÂâyÃÃÅÃbÂXÂÂÃÂvÃ^â)ÃÂ{.nÃ+âÂÂÅ{ÂâÃÂÅÃ^nârÂÃÂzÃïÃhâÂÃÂÃ&ÂÃÂGÂïÃhÂ(ÂÃÅÅÅÃÂj"ïÃÂmÂÃÃïÃÃzÂÃâÅÃÃfÂÂÂhÅËÂ~Ëmml==
>
> Hm, why your Kmail base64-encodes plain English messages and adds this
> kind of binary crap?

Huh? Haven't you heard about the latest trend of inserting hidden data
into your mails? All the cool dudes are doing it nowadays... 8-)

Now seriously... I would love to know the answer to your question myself.

[ After distro upgrade I noticed that new KMail's version started adding
a non-ascii character at the end of inserted file (when composing message
and using "Message" -> "Insert File"). The workaround is to remove the
character manually but I sometimes forget about it... ]

Thanks,
Bart
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/