linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v2 0/6] UBI: Some cleanup and check if a vol exists when fastmap attaching
@ 2015-05-26 10:07 Sheng Yong
  2015-05-26 10:07 ` [RFC PATCH v2 1/6] UBI: Fastmap: Use max() to get the larger value Sheng Yong
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Sheng Yong @ 2015-05-26 10:07 UTC (permalink / raw)
  To: richard; +Cc: linux-mtd

Hi, folks,

V2:
* change the commit message of PATCH 5. In normal cases, including unclean
  reboot and ECC scenario, there is no way to have two same vol_id saved in
  different slots in ubi->volumes[], so add_vol() in fastmap attach won't
  go wrong. Only if the on-flash fastmap is modified by hand, this issue
  may be triggered.
  Thanks Richard Weinberger for pointing this out.

* add two more cleanup.
  . add a helper function for updatting on-flash layout volumes. No
    semantic changes.

V1:
http://lists.infradead.org/pipermail/linux-mtd/2015-May/059355.html

Thanks,
Sheng

Sheng Yong (6):
  UBI: Fastmap: Use max() to get the larger value
  UBI: Fastmap: Remove unnecessary `\'
  UBI: Fastmap: Rename variables to make them meaningful
  UBI: Init vol->reserved_pebs by assignment
  UBI: Fastmap: Do not add vol if it already exists
  UBI: add a helper function for updatting on-flash layout volumes

 drivers/mtd/ubi/build.c   |  4 +--
 drivers/mtd/ubi/fastmap.c | 81 +++++++++++++++++++++++++----------------------
 drivers/mtd/ubi/vmt.c     |  4 +--
 drivers/mtd/ubi/vtbl.c    | 45 ++++++++++++++------------
 4 files changed, 72 insertions(+), 62 deletions(-)

-- 
1.8.3.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-06-03  7:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-26 10:07 [RFC PATCH v2 0/6] UBI: Some cleanup and check if a vol exists when fastmap attaching Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 1/6] UBI: Fastmap: Use max() to get the larger value Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 2/6] UBI: Fastmap: Remove unnecessary `\' Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 3/6] UBI: Fastmap: Rename variables to make them meaningful Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 4/6] UBI: Init vol->reserved_pebs by assignment Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 5/6] UBI: Fastmap: Do not add vol if it already exists Sheng Yong
2015-05-26 10:07 ` [RFC PATCH v2 6/6] UBI: add a helper function for updatting on-flash layout volumes Sheng Yong
2015-06-02  0:38 ` [RFC PATCH v2 0/6] UBI: Some cleanup and check if a vol exists when fastmap attaching Sheng Yong
2015-06-02 10:01   ` Richard Weinberger
2015-06-03  1:37     ` [PATCH] UBI: Remove unnecessary `\' Sheng Yong
2015-06-03  7:42       ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).