All of lore.kernel.org
 help / color / mirror / Atom feed
* Error handling
@ 2002-12-05 13:20 Anil Kumar Nanduri
  0 siblings, 0 replies; 13+ messages in thread
From: Anil Kumar Nanduri @ 2002-12-05 13:20 UTC (permalink / raw)
  To: linux-mm

Hi All,
    While I am browsing the page_launder code, I found an interesting scenario
    which is not considered in 2.4-7 kernel, I do not know about other kernels(2.5).

    The following is the scenario....
    As page launder initiates disk transfers using submit_bh as part of cleaning
    inactive dirty pages, if that disk I/O fails, drivers generally call "buffer_IO_error"
    which will ultimately set the page_error flag for that page.

    As the page launder in its next pass or in the same pass(if the disk i/o is fast enough)
    tries to move this page into the clean list without checking page-error flag. This is fine
    with file's data, but not with swap pages.

    Incase of swap pages the ideal thing would be not to move that page to inactive list
    if the disk I/O for that block fails which is not happening currently.

    Is this a BUG?


Regards,
-anil.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Error handling
@ 2023-07-20  7:04 chandu chanti
  2023-08-03 17:02 ` Joseph Reynolds
  0 siblings, 1 reply; 13+ messages in thread
From: chandu chanti @ 2023-07-20  7:04 UTC (permalink / raw)
  To: openbmc

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

Hi Team,

We are planning to handle errors from backend services in bmc web. We are
considering the following approaches to implement it, but we are facing
some issues. please provide your inputs.

1 . Using exceptions in our backend D-Bus service by throwing exceptions in
the D-Bus property get handlers. It works fine for the Get property method
call. However, when using the Get All method call, if one property fails,
an error is returned without checking the other properties. Is there a way
to implement exceptions in GetAll so that even if one property fails, we
can still fetch the remaining properties.

2. Using default values in D-Bus properties to indicate errors. Is there a
reference implementation available for setting default values for string
and integer data types in bmc web, similar to the implementation of NaN
(default value) for the double data type in cable.hpp.

3. Implement associated return code per property on dbus, but this would be
very inefficient in terms of double the properties on dbus, something we
would like to avoid

Thanks
Chandrasekhar T.

[-- Attachment #2: Type: text/html, Size: 1659 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread
* error handling
@ 2001-02-07 10:23 Oliver Neukum
  0 siblings, 0 replies; 13+ messages in thread
From: Oliver Neukum @ 2001-02-07 10:23 UTC (permalink / raw)
  To: linux-hotplug

Hi,

it just occured to me.
What is to be done if a user space helper segfaults ?

	Regards
		Oliver

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

end of thread, other threads:[~2023-09-04 14:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-05 13:20 Error handling Anil Kumar Nanduri
  -- strict thread matches above, loose matches on Subject: below --
2023-07-20  7:04 chandu chanti
2023-08-03 17:02 ` Joseph Reynolds
2023-08-04  7:07   ` Shakeeb Pasha
2023-08-31 11:46     ` chandu chanti
2023-08-31 15:28       ` Patrick Williams
2023-09-01 14:25         ` chandu chanti
2023-09-02  1:52           ` Patrick Williams
2023-08-31 17:01       ` Ed Tanous
2023-09-01 14:21         ` chandu chanti
2023-09-01 15:57           ` Ed Tanous
2023-09-04 14:49             ` chandu chanti
2001-02-07 10:23 error handling Oliver Neukum

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.