Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 026793d in mainline


Ignore:
Timestamp:
2011-07-07T20:17:39Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
2bc7122, 9be9c4d, c028b22, f51f193
Parents:
38c9505
Message:

Increase message verbosity levels so that I/O is not normally logged. Works
around dead-lock when mounting a file system stored on USB mass storage device.

Location:
uspace
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/transfer_list.c

    r38c9505 r026793d  
    141141        list_append(&batch->link, &instance->batch_list);
    142142
    143         usb_log_debug("Batch %p " USB_TRANSFER_BATCH_FMT " scheduled in queue %s.\n",
     143        usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " scheduled in queue %s.\n",
    144144            batch, USB_TRANSFER_BATCH_ARGS(*batch), instance->name);
    145145        fibril_mutex_unlock(&instance->guard);
  • uspace/drv/bus/usb/usbmast/mast.c

    r38c9505 r026793d  
    4242#include <usb/dev/request.h>
    4343
    44 bool usb_mast_verbose = true;
     44bool usb_mast_verbose = false;
    4545
    4646#define MASTLOG(format, ...) \
    4747        do { \
    4848                if (usb_mast_verbose) { \
    49                         usb_log_debug("USB cl08: " format, ##__VA_ARGS__); \
     49                        usb_log_debug2("USB cl08: " format, ##__VA_ARGS__); \
    5050                } \
    5151        } while (false)
  • uspace/lib/usbhost/src/batch.c

    r38c9505 r026793d  
    128128        memcpy(instance->buffer, instance->data_buffer, instance->buffer_size);
    129129
    130         usb_log_debug("Batch %p " USB_TRANSFER_BATCH_FMT " completed (%zuB): %s.\n",
     130        usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " completed (%zuB): %s.\n",
    131131            instance, USB_TRANSFER_BATCH_ARGS(*instance),
    132132            instance->transfered_size, str_error(instance->error));
     
    145145        assert(instance->callback_out);
    146146
    147         usb_log_debug("Batch %p " USB_TRANSFER_BATCH_FMT " completed: %s.\n",
     147        usb_log_debug2("Batch %p " USB_TRANSFER_BATCH_FMT " completed: %s.\n",
    148148            instance, USB_TRANSFER_BATCH_ARGS(*instance),
    149149            str_error(instance->error));
Note: See TracChangeset for help on using the changeset viewer.