Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280323
b: refs/heads/master
c: 687d1c5
h: refs/heads/master
i:
  280321: b68a71f
  280319: 3f3315a
v: v3
  • Loading branch information
Eric Sandeen authored and Ben Myers committed Dec 16, 2011
1 parent 4cc52aa commit c357e90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ae4440723a413c7a52edd27f654c34680dd4ea2
refs/heads/master: 687d1c5e8e26f68b0defb1b9ccd85a0955325b9d
6 changes: 1 addition & 5 deletions trunk/fs/xfs/xfs_buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1701,12 +1701,8 @@ xfsbufd(
struct list_head tmp;
struct blk_plug plug;

if (unlikely(freezing(current))) {
set_bit(XBT_FORCE_SLEEP, &target->bt_flags);
if (unlikely(freezing(current)))
refrigerator();
} else {
clear_bit(XBT_FORCE_SLEEP, &target->bt_flags);
}

/* sleep for a long time if there is nothing to do. */
if (list_empty(&target->bt_delwri_queue))
Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/xfs/xfs_buf.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ typedef unsigned int xfs_buf_flags_t;
{ _XBF_DELWRI_Q, "DELWRI_Q" }

typedef enum {
XBT_FORCE_SLEEP = 0,
XBT_FORCE_FLUSH = 1,
XBT_FORCE_FLUSH = 0,
} xfs_buftarg_flags_t;

typedef struct xfs_buftarg {
Expand Down

0 comments on commit c357e90

Please sign in to comment.