All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Persist TX SMS messages
@ 2010-11-24 22:53 Kristen Carlson Accardi
  2010-11-24 22:53 ` [PATCH 1/3] sms: store pending tx pdus on disk Kristen Carlson Accardi
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Kristen Carlson Accardi @ 2010-11-24 22:53 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

This patch series implements a method of persisting pending
outgoing sms messages on disk.  Once an sms message has
been submitted to the transmit queue, each pdu in the
message is stored on disk until the driver indicates that
it has been sent.

Each tx_queue_entry is given an id number that represents
it's order in the queue.  A subdirectory per entry is
created as id-uuid, in order to preserve order when the
queue is loaded in the event of a crash.  Within each
subdirectory, each pdu is saved in order by sequence
number.

When an sms driver is ready for operation, the disk will
be scanned for any saved pending tx sms messages.  If there
are any found, they will be loaded from disk and placed
into the queue in order.

Kristen Carlson Accardi (3):
  sms: store pending tx pdus on disk
  sms: delete sent sms messages from backup
  sms: restore pending tx messages from backup

 src/ofono.h   |    1 +
 src/sms.c     |   64 ++++++++++++++++++++
 src/smsutil.c |  180 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/smsutil.h |   13 ++++
 4 files changed, 258 insertions(+), 0 deletions(-)

-- 
1.7.2.3


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 0/3] Persist TX SMS messages
@ 2011-01-25 12:47 Lucas De Marchi
  2011-01-25 12:47 ` [PATCH 1/3] sms: store pending tx pdus on disk Lucas De Marchi
  0 siblings, 1 reply; 14+ messages in thread
From: Lucas De Marchi @ 2011-01-25 12:47 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 806 bytes --]

This patch series is a re-sending of a previous series sent by Kristen Carlson
Accardi. What I did was some cleanups, style changes, ported it to the new sms
API and fixed some leaks (hopefully I didn't introduce more).

Marcel/Denis, I don't know if letting "Based on patch from" is the right
approach. Feel free to change the author of the commits if you think this more
appropriate.

Lucas De Marchi (3):
  sms: store pending tx pdus on disk
  sms: delete sent sms messages from backup
  sms: restore pending tx messages from backup

 src/ofono.h   |    1 +
 src/sms.c     |  107 +++++++++++++++++++++++++++
 src/smsutil.c |  223 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/smsutil.h |   16 ++++
 4 files changed, 347 insertions(+), 0 deletions(-)

-- 
1.7.3.5


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

end of thread, other threads:[~2011-01-25 12:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24 22:53 [PATCH 0/3] Persist TX SMS messages Kristen Carlson Accardi
2010-11-24 22:53 ` [PATCH 1/3] sms: store pending tx pdus on disk Kristen Carlson Accardi
2010-12-07  2:38   ` Denis Kenzior
2010-12-07 22:57     ` Kristen Carlson Accardi
2010-12-08 11:01       ` Denis Kenzior
2010-12-11  0:16     ` [PATCH 1/3 v2] " Kristen Carlson Accardi
2010-12-07 13:26   ` [PATCH 1/3] " Aki Niemi
2010-11-24 22:53 ` [PATCH 2/3] sms: delete sent sms messages from backup Kristen Carlson Accardi
2010-12-07  2:31   ` Denis Kenzior
2010-12-11  0:16     ` [PATCH 2/3 v2] " Kristen Carlson Accardi
2010-11-24 22:53 ` [PATCH 3/3] sms: restore pending tx " Kristen Carlson Accardi
2010-12-07  2:43   ` Denis Kenzior
2010-12-11  0:17     ` [PATCH 3/3 v2] " Kristen Carlson Accardi
  -- strict thread matches above, loose matches on Subject: below --
2011-01-25 12:47 [PATCH 0/3] Persist TX SMS messages Lucas De Marchi
2011-01-25 12:47 ` [PATCH 1/3] sms: store pending tx pdus on disk Lucas De Marchi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.