Open Source Telephony
 help / color / mirror / Atom feed
From: Kristen Carlson Accardi <kristen@linux.intel.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/3] sms: store pending tx pdus on disk
Date: Tue, 07 Dec 2010 14:57:58 -0800	[thread overview]
Message-ID: <20101207145758.26059ea5@kcaccard-MOBL3> (raw)
In-Reply-To: <4CFD9E42.3050109@gmail.com>

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

On Mon, 06 Dec 2010 20:38:58 -0600
Denis Kenzior <denkenz@gmail.com> wrote:

<snip>

> > +	/*
> > +	 * file name is: imsi/order in tx_queue-uuid/order of pdus
> > +	 */
> > +	if (write_file(buf, len, SMS_BACKUP_MODE,
> > +				SMS_TX_BACKUP_PATH_FILE, imsi, id, uuid,
> > +				seq) != len)
> > +		return FALSE;
> > +
> 
> And where are you taking care of storing the other needed information?
> e.g. the tx_queue entry flags, retry count, etc?

I can easily add the flags and retry count.  As far as the "etc"
that you mention, the only other information I see would be
entry->cb and entry->data, which I was thinking might have to
get lost.  I am not sure how to persist that information on
disk - do you have any suggestions?

  reply	other threads:[~2010-12-07 22:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101207145758.26059ea5@kcaccard-MOBL3 \
    --to=kristen@linux.intel.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox