Re: Moving the userland target database from /var/target

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

 



On Fri, 2016-03-11 at 01:27 -0800, Christoph Hellwig wrote:
> On Thu, Mar 10, 2016 at 02:15:56PM -0800, Lee Duncan wrote:
> > Hi:
> > 
> > When building targetcli, I have been ignoring build-service warnings for
> > years that it should not be using /var/target.
> > 
> > As I'm pretty sure everyone here knows, we evidently should not be
> > creating a high-level directory in /var (see http://www.linfo.org/var.html)
> > 
> > I understand that it hasn't been moved because it's kind of a PITA,
> > being defined in both the kernel and in user-land.
> 
> I think this is a good opportunity to get rid of the direct
> reading/writing of files from kernel space, as this shouldn't have
> splipped in in the first place.

Lots of people depend on this functionality as-is for PR APTPL, in order
to rebuild full SPC-3 PR state across export fail-over.

While I'm happy to consider other methods of doing this, I don't think
the original code can go away until there is something (at least) that
mimics existing behavior to user-space.

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



[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux