Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157485
b: refs/heads/master
c: d0bceac
h: refs/heads/master
i:
  157483: fddefd1
v: v3
  • Loading branch information
Jens Axboe committed Sep 11, 2009
1 parent c69850b commit 9b5a0c8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 283 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: 03ba3782e8dcc5b0e1efe440d33084f066e38cae
refs/heads/master: d0bceac747b547c0b4769b91fec7d3c15600153f
5 changes: 5 additions & 0 deletions trunk/fs/fs-writeback.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@

#define inode_to_bdi(inode) ((inode)->i_mapping->backing_dev_info)

/*
* We don't actually have pdflush, but this one is exported though /proc...
*/
int nr_pdflush_threads;

/*
* Work items for the bdi_writeback threads
*/
Expand Down
12 changes: 0 additions & 12 deletions trunk/include/linux/writeback.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,6 @@ extern spinlock_t inode_lock;
extern struct list_head inode_in_use;
extern struct list_head inode_unused;

/*
* Yes, writeback.h requires sched.h
* No, sched.h is not included from here.
*/
static inline int task_is_pdflush(struct task_struct *task)
{
return task->flags & PF_FLUSHER;
}

#define current_is_pdflush() task_is_pdflush(current)

/*
* fs/fs-writeback.c
*/
Expand Down Expand Up @@ -155,7 +144,6 @@ balance_dirty_pages_ratelimited(struct address_space *mapping)
typedef int (*writepage_t)(struct page *page, struct writeback_control *wbc,
void *data);

int pdflush_operation(void (*fn)(unsigned long), unsigned long arg0);
int generic_writepages(struct address_space *mapping,
struct writeback_control *wbc);
int write_cache_pages(struct address_space *mapping,
Expand Down
2 changes: 1 addition & 1 deletion trunk/mm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mmu-$(CONFIG_MMU) := fremap.o highmem.o madvise.o memory.o mincore.o \
vmalloc.o

obj-y := bootmem.o filemap.o mempool.o oom_kill.o fadvise.o \
maccess.o page_alloc.o page-writeback.o pdflush.o \
maccess.o page_alloc.o page-writeback.o \
readahead.o swap.o truncate.o vmscan.o shmem.o \
prio_tree.o util.o mmzone.o vmstat.o backing-dev.o \
page_isolation.o mm_init.o $(mmu-y)
Expand Down
269 changes: 0 additions & 269 deletions trunk/mm/pdflush.c

This file was deleted.

0 comments on commit 9b5a0c8

Please sign in to comment.