Re: [PATCH 2/5] Subject: [PATCH] pata_efar: add locking for parallel scanning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/17/2010 08:16 AM, Alan Cox wrote:
From: Bartlomiej Zolnierkiewicz<bzolnier@xxxxxxxxx>

Add clearing of UDMA enable bit also for PIO modes and then add
an extra locking for parallel scanning.

This is similar change as commit 60c3be3 for ata_piix host driver
and while pata_efar doesn't enable parallel scan yet the race could
probably also be triggered by requesting re-scanning of both ports
at the same time using SCSI sysfs interface.

[Ported to current kernel without other patch dependancies by
  Alan Cox]

Original is
Signed-off-by: Bartlomiej Zolnierkiewicz<bzolnier@xxxxxxxxx>

This one is
Signed-off-by: Alan Cox<alan@xxxxxxxxxxxxxxx>
---

  drivers/ata/pata_efar.c |   15 +++++++++++++++
  1 files changed, 15 insertions(+), 0 deletions(-)

applied 2-5


--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux