[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <460B26AB.8060307@gmail.com>
Date: Thu, 29 Mar 2007 11:38:35 +0900
From: Tejun Heo <htejun@...il.com>
To: Jeff Garzik <jgarzik@...ox.com>
CC: Kristen Carlson Accardi <kristen.c.accardi@...el.com>,
linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
linux-ide@...r.kernel.org, linux-scsi <linux-scsi@...r.kernel.org>
Subject: Re: [patch 2/3] libata: expose AN support to user space via sysfs
Jeff Garzik wrote:
> AN is a generic concept that I feel will propagate elsewhere.
I think SCSI already has it or am I imagining things again? :-)
> Though perhaps it should be in a 'capability_flags' file rather than a
> 'media_change_event' file.
IMHO, if it's genhd.capability_flags then the flag should be
MEDIA_CHANGE_NOTIFY not ASYNC_NOTIFICATION because AN itself doesn't
imply any specific event. It's just a notification mechanism, for ATAPI
devices, it means media change, for PMP it has a different meaning, so I
think we need to export the processed meaning not the specific mechanism
to userland.
Thanks.
--
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists