Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0a5e5d6b
Commit
0a5e5d6b
authored
Feb 28, 2004
by
Christoph Hellwig
Committed by
Nathan Scott
Feb 28, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] only lock pagecache pages
SGI Modid: xfs-linux:xfs-kern:167054a
parent
f12ef882
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
fs/xfs/linux/xfs_buf.c
fs/xfs/linux/xfs_buf.c
+1
-0
fs/xfs/linux/xfs_buf.h
fs/xfs/linux/xfs_buf.h
+1
-0
No files found.
fs/xfs/linux/xfs_buf.c
View file @
0a5e5d6b
...
@@ -503,6 +503,7 @@ _pagebuf_lookup_pages(
...
@@ -503,6 +503,7 @@ _pagebuf_lookup_pages(
}
}
}
}
pb
->
pb_flags
|=
_PBF_PAGECACHE
;
mapit:
mapit:
pb
->
pb_flags
|=
_PBF_MEM_ALLOCATED
;
pb
->
pb_flags
|=
_PBF_MEM_ALLOCATED
;
if
(
all_mapped
)
{
if
(
all_mapped
)
{
...
...
fs/xfs/linux/xfs_buf.h
View file @
0a5e5d6b
...
@@ -87,6 +87,7 @@ typedef enum page_buf_flags_e { /* pb_flags values */
...
@@ -87,6 +87,7 @@ typedef enum page_buf_flags_e { /* pb_flags values */
PBF_DONT_BLOCK
=
(
1
<<
15
),
/* do not block in current thread */
PBF_DONT_BLOCK
=
(
1
<<
15
),
/* do not block in current thread */
/* flags used only internally */
/* flags used only internally */
_PBF_PAGECACHE
=
(
1
<<
16
),
/* backed by pagecache */
_PBF_ALL_PAGES_MAPPED
=
(
1
<<
18
),
/* all pages in range mapped */
_PBF_ALL_PAGES_MAPPED
=
(
1
<<
18
),
/* all pages in range mapped */
_PBF_ADDR_ALLOCATED
=
(
1
<<
19
),
/* pb_addr space was allocated */
_PBF_ADDR_ALLOCATED
=
(
1
<<
19
),
/* pb_addr space was allocated */
_PBF_MEM_ALLOCATED
=
(
1
<<
20
),
/* underlying pages are allocated */
_PBF_MEM_ALLOCATED
=
(
1
<<
20
),
/* underlying pages are allocated */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment