Re: [PATCH 1/6] pnfs: enable CB_NOTIFY_DEVICEID support

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

 



On Tue, Sep 02, 2014 at 09:38:34PM -0700, Christoph Hellwig wrote:
> This code has been around for a while, but never was enabled.  Turns out it
> really does work out of the box at least for the block layout driver, so
> we just need to wire it up, and in case of NOTIFY_DEVICEID4_CHANGE remove
> a conditional that returns an error.
> 
> Note that we implement NOTIFY_DEVICEID4_CHANGE identical to
> NOTIFY_DEVICEID4_DELETE.  Given that in either case we can't do anything
> but preventing further lookups of a given device ID there isn't much difference
> in semantics for the two.  For the delete case the server MUST ensure that
> there are no outstanding layouts, while for the change case it doesn't, but
> that has little relevance to the client.

I got a comment that we should probably just enable CB_NOTIFY_DEVICEID
for all layout types unconditionally as there really isn't anything
layout type specific in it.  I'm tempted to agree, so if anyone
disagrees speak up now, or I'll resend it that way in a few days.

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




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux