search for: to_do

Displaying 20 results from an estimated 21 matches for "to_do".

Did you mean: to_doc
2006 Jan 30
5
Action Mailer woes
...@from = "accounts@mywebsite.com" @subject = title @body = body # breakpoint ''mailer'' # Email body substitutions go here end end In the controller I have; ... # Send the Email @recipient = Person.find(:first, :conditions => [''id = ?'',@to_dos.user_id]) @email_address = @recipient.email_address ItemMailer::create_item_assignment(@email_address, @to_dos.title, @to_dos.body) ... I dont need any fancy stuff like variable substitution, just a way to pop the recipient, subject and body into an email object. When I try to run this I get...
2006 May 02
3
file_column : _temp field always nil
Hi, I''m trying to set up file_column to upload attachments for emails. My view has <td align="left"><%= file_column_field ''to_do'', ''attachment'' %></td> and the attachment_temp hidden field is generated. When I inspect tthe params on saving the form the attachment_temp param is always an empty string. Also, when I was setting this up I got a no method error attachment_temp on save and h...
2014 Sep 18
3
[PATCH] blk-mq: Avoid race condition with uninitialized requests
This patch should fix the bug reported in https://lkml.org/lkml/2014/9/11/249. Test is still pending. David Hildenbrand (1): blk-mq: Avoid race condition with uninitialized requests block/blk-mq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 1.8.5.5
2014 Sep 18
3
[PATCH] blk-mq: Avoid race condition with uninitialized requests
This patch should fix the bug reported in https://lkml.org/lkml/2014/9/11/249. Test is still pending. David Hildenbrand (1): blk-mq: Avoid race condition with uninitialized requests block/blk-mq.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 1.8.5.5
1998 Nov 25
3
Unix/NT file conversion problems
Hi We are having some problems - the majority of our files require ascii transfers between our unix servers and PCs. They are however being transferred as binary for some reason even though they are just plain text files. This means (when going from unix to pc) the files come down without a carriage return at the end of lines. And when going from pc to unix they end up with ^M on the end of each
2014 Sep 17
3
blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)
> >>> Does anyone have an idea? > >>> The request itself is completely filled with cc > >> > >> That is very weird, the 'rq' is got from hctx->tags, and rq should be > >> valid, and rq->q shouldn't have been changed even though it was > >> double free or double allocation. > >> > >>> I am currently
2014 Sep 17
3
blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)
> >>> Does anyone have an idea? > >>> The request itself is completely filled with cc > >> > >> That is very weird, the 'rq' is got from hctx->tags, and rq should be > >> valid, and rq->q shouldn't have been changed even though it was > >> double free or double allocation. > >> > >>> I am currently
2014 Sep 18
0
[PATCH] blk-mq: Avoid race condition with uninitialized requests
...REQ_MQ_INFLIGHT) atomic_dec(&hctx->nr_active); + rq->cmd_flags = 0; clear_bit(REQ_ATOM_STARTED, &rq->atomic_flags); blk_mq_put_tag(hctx, tag, &ctx->last_tag); @@ -1404,6 +1404,8 @@ static struct blk_mq_tags *blk_mq_init_rq_map(struct blk_mq_tag_set *set, left -= to_do * rq_size; for (j = 0; j < to_do; j++) { tags->rqs[i] = p; + tags->rqs[i]->atomic_flags = 0; + tags->rqs[i]->cmd_flags = 0; if (set->ops->init_request) { if (set->ops->init_request(set->driver_data, tags->rqs[i], hctx_idx, i, -- 1.8.5....
2014 Sep 22
1
[PATCH] blk-mq: Avoid race condition with uninitialized requests
...ec(&hctx->nr_active); > + rq->cmd_flags = 0; > > clear_bit(REQ_ATOM_STARTED, &rq->atomic_flags); > blk_mq_put_tag(hctx, tag, &ctx->last_tag); > @@ -1404,6 +1404,8 @@ static struct blk_mq_tags *blk_mq_init_rq_map(struct blk_mq_tag_set *set, > left -= to_do * rq_size; > for (j = 0; j < to_do; j++) { > tags->rqs[i] = p; > + tags->rqs[i]->atomic_flags = 0; > + tags->rqs[i]->cmd_flags = 0; > if (set->ops->init_request) { > if (set->ops->init_request(set->driver_data, > tags-...
2014 Sep 22
1
[PATCH] blk-mq: Avoid race condition with uninitialized requests
...ec(&hctx->nr_active); > + rq->cmd_flags = 0; > > clear_bit(REQ_ATOM_STARTED, &rq->atomic_flags); > blk_mq_put_tag(hctx, tag, &ctx->last_tag); > @@ -1404,6 +1404,8 @@ static struct blk_mq_tags *blk_mq_init_rq_map(struct blk_mq_tag_set *set, > left -= to_do * rq_size; > for (j = 0; j < to_do; j++) { > tags->rqs[i] = p; > + tags->rqs[i]->atomic_flags = 0; > + tags->rqs[i]->cmd_flags = 0; > if (set->ops->init_request) { > if (set->ops->init_request(set->driver_data, > tags-...
2014 Sep 17
2
blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)
...s[tag]; > > + /* uninitialized request */ > + if (!rq->q || rq->tag == -1) > + return rq; > + > if (!is_flush_request(rq, tag)) > return rq; > > @@ -1401,6 +1405,12 @@ static struct blk_mq_tags *blk_mq_init_rq_map(struct blk_mq_tag_set *set, > left -= to_do * rq_size; > for (j = 0; j < to_do; j++) { > tags->rqs[i] = p; > + > + /* Avoiding early access from timeout handler */ > + tags->rqs[i]->tag = -1; > + tags->rqs[i]->q = NULL; > + tags->rqs[i]->cmd_flags = 0; > + > if (set-&gt...
2014 Sep 17
2
blk-mq crash under KVM in multiqueue block code (with virtio-blk and ext4)
...s[tag]; > > + /* uninitialized request */ > + if (!rq->q || rq->tag == -1) > + return rq; > + > if (!is_flush_request(rq, tag)) > return rq; > > @@ -1401,6 +1405,12 @@ static struct blk_mq_tags *blk_mq_init_rq_map(struct blk_mq_tag_set *set, > left -= to_do * rq_size; > for (j = 0; j < to_do; j++) { > tags->rqs[i] = p; > + > + /* Avoiding early access from timeout handler */ > + tags->rqs[i]->tag = -1; > + tags->rqs[i]->q = NULL; > + tags->rqs[i]->cmd_flags = 0; > + > if (set-&gt...
2003 Dec 09
3
Interfacing R and Python in MS Windows
Hi all, I need the power of R from within some of my Python programs... I use debian linux (woody) at home and windows XP at work (the latter is where I need to get things done!) This are my packages: R 1.8.0 Python 2.3 RSPython 0.5-3 This is what I've done: (1) Since the Windows Binary of RSPython is compiled against Python 2.2 I downloaded the tarball (2) Followed the instructions in
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...- DWORD nSize; - BOOL fSuccess; + DWORD nSize; + BOOL fSuccess; STARTUPINFO si; - wchar_t szPWD[1024]; + wchar_t szPWD[1024]; PROCESS_INFORMATION pi; - wchar_t szCmdLine[1024]; - wchar_t szRegistryPath[1024]; + wchar_t szCmdLine[1024]; + wchar_t szRegistryPath[1024]; - // TO_DO: Declare and set any required variables. - // Be sure to periodically call ReportSvcStatus() with + // TO_DO: Declare and set any required variables. + // Be sure to periodically call ReportSvcStatus() with // SERVICE_START_PENDING. If initialization fails, call // Repor...
2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...- DWORD nSize; - BOOL fSuccess; + DWORD nSize; + BOOL fSuccess; STARTUPINFO si; - wchar_t szPWD[1024]; + wchar_t szPWD[1024]; PROCESS_INFORMATION pi; - wchar_t szCmdLine[1024]; - wchar_t szRegistryPath[1024]; + wchar_t szCmdLine[1024]; + wchar_t szRegistryPath[1024]; - // TO_DO: Declare and set any required variables. - // Be sure to periodically call ReportSvcStatus() with + // TO_DO: Declare and set any required variables. + // Be sure to periodically call ReportSvcStatus() with // SERVICE_START_PENDING. If initialization fails, call // Repor...
2003 Jun 27
0
dealing with renamed files
...already there. Rsync should be able to check for renamed files by scanning for files with the same MD5 hashes, checksums, or delta signatures (is that what you called them?). Rsync could then rename the files remotely and then do the normal update. Here is a shellscript implementation: #!/bin/sh TO_DO=' - Secure shell script - Find out how to secure shell scripts - Do filename escaping beforehand - Provide Tar-like "-C" command line option ' tmpfile=md5_rename_tmp find -type f -print0 | xargs -0 md5sum > "$tmpfile" for file in "$@" ; do old_IFS=...
2001 Mar 21
1
unix password sync = True?
OK here's the problem: when i use the "smbpasswd" program it doesn't update the "passwd" file in /etc. What i want: The explicate conditions in which Samba to Unix password syncing will operate correctly on a Red Hat 7.0 (Guiness) distro with samba 2.0.7-21ssl (included in distro) IE: perrmissions on passwd and smbpasswd files, password program = ?, password chat =
2006 Feb 11
7
A quick question on popup windows
How the hell do you close em off after the action is completed? Ta, Eric
2013 Nov 18
7
RHSrvAny: Fix failure on Windows 2003
The newly rebuilt RHSrvAny worked on Windows XP, Windows 2003 R2, and Windows Vista+, but segfaulted on Windows 2003. After much investigation, the issue seems to have been with inconsistent use of Unicode. This series fixes compilation on Microsoft Visual C++ 2010 (the most recent version which runs on Windows 2003), fixes all compiler warnings, and enabled warnings during the build. The
2016 Oct 04
28
[Bug 98039] New: KMail crash on starting (nouveau-related)
https://bugs.freedesktop.org/show_bug.cgi?id=98039 Bug ID: 98039 Summary: KMail crash on starting (nouveau-related) Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: critical Priority: medium Component: Drivers/DRI/nouveau Assignee: