Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-11-24 Thread Richard Weinberger
Am 07.11.2014 um 13:42 schrieb Andrew Murray: >> Please send a patch for that. :) > > Apologies for the delay - did you just want junk a hunk so you can > include in your next revision - or did you want me to come up with a > v2 of your patch? I have to say sorry, your mail got lost in my inbox.

[PATCH 1/2] UBI: Implement UBI_METAONLY

2014-11-24 Thread Richard Weinberger
UBI_METAONLY is a new open mode for UBI volumes, it indicates that only meta data is being changed. Meta data in terms of UBI volumes means data which is stored in the UBI volume table but not on the volume itself. While it does not interfere with UBI_READONLY and UBI_READWRITE it is not allowed

[PATCH 1/2] UBI: Implement UBI_METAONLY

2014-11-24 Thread Richard Weinberger
UBI_METAONLY is a new open mode for UBI volumes, it indicates that only meta data is being changed. Meta data in terms of UBI volumes means data which is stored in the UBI volume table but not on the volume itself. While it does not interfere with UBI_READONLY and UBI_READWRITE it is not allowed

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-11-24 Thread Richard Weinberger
Am 07.11.2014 um 13:42 schrieb Andrew Murray: Please send a patch for that. :) Apologies for the delay - did you just want junk a hunk so you can include in your next revision - or did you want me to come up with a v2 of your patch? I have to say sorry, your mail got lost in my inbox. :-(

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-11-07 Thread Andrew Murray
On 29 October 2014 20:20, Richard Weinberger wrote: > Am 29.10.2014 um 21:11 schrieb Andrew Murray: >> On 29 October 2014 14:52, Richard Weinberger wrote: >>> diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h >>> index c3918a0..82b693f 100644 >>> --- a/include/linux/mtd/ubi.h >>>

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-11-07 Thread Artem Bityutskiy
On Wed, 2014-10-29 at 15:52 +0100, Richard Weinberger wrote: > + * UBI_METAONLY: modify voulme meta data only Can we please have a bit extended comment for this, explaining what meta-data is? Like UBI_METAONLY: modify only the volume meta-data, i.e. the data stored in the volume

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-11-07 Thread Artem Bityutskiy
On Wed, 2014-10-29 at 15:52 +0100, Richard Weinberger wrote: + * UBI_METAONLY: modify voulme meta data only Can we please have a bit extended comment for this, explaining what meta-data is? Like UBI_METAONLY: modify only the volume meta-data, i.e. the data stored in the volume

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-11-07 Thread Andrew Murray
On 29 October 2014 20:20, Richard Weinberger rich...@nod.at wrote: Am 29.10.2014 um 21:11 schrieb Andrew Murray: On 29 October 2014 14:52, Richard Weinberger rich...@nod.at wrote: diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h index c3918a0..82b693f 100644 ---

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-10-29 Thread Richard Weinberger
Am 29.10.2014 um 21:11 schrieb Andrew Murray: > On 29 October 2014 14:52, Richard Weinberger wrote: >> diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h >> index c3918a0..82b693f 100644 >> --- a/include/linux/mtd/ubi.h >> +++ b/include/linux/mtd/ubi.h >> @@ -34,11 +34,13 @@ >> *

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-10-29 Thread Andrew Murray
On 29 October 2014 14:52, Richard Weinberger wrote: > diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h > index c3918a0..82b693f 100644 > --- a/include/linux/mtd/ubi.h > +++ b/include/linux/mtd/ubi.h > @@ -34,11 +34,13 @@ > * UBI_READONLY: read-only mode > * UBI_READWRITE:

[PATCH 1/2] UBI: Implement UBI_METAONLY

2014-10-29 Thread Richard Weinberger
UBI_METAONLY is a new open mode for UBI volumes, it indicates that only meta data is being changed. Meta data in terms of UBI volumes means data which is stored in the UBI volume table but not on the volume itself. While it does not interfere with UBI_READONLY and UBI_READWRITE it is not allowed

[PATCH 1/2] UBI: Implement UBI_METAONLY

2014-10-29 Thread Richard Weinberger
UBI_METAONLY is a new open mode for UBI volumes, it indicates that only meta data is being changed. Meta data in terms of UBI volumes means data which is stored in the UBI volume table but not on the volume itself. While it does not interfere with UBI_READONLY and UBI_READWRITE it is not allowed

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-10-29 Thread Andrew Murray
On 29 October 2014 14:52, Richard Weinberger rich...@nod.at wrote: diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h index c3918a0..82b693f 100644 --- a/include/linux/mtd/ubi.h +++ b/include/linux/mtd/ubi.h @@ -34,11 +34,13 @@ * UBI_READONLY: read-only mode * UBI_READWRITE:

Re: [PATCH 1/2] UBI: Implement UBI_METAONLY

2014-10-29 Thread Richard Weinberger
Am 29.10.2014 um 21:11 schrieb Andrew Murray: On 29 October 2014 14:52, Richard Weinberger rich...@nod.at wrote: diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h index c3918a0..82b693f 100644 --- a/include/linux/mtd/ubi.h +++ b/include/linux/mtd/ubi.h @@ -34,11 +34,13 @@ *