Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 'bitmap node' to support more pages #341

Open
Mark-Song0618 opened this issue Feb 13, 2024 · 1 comment
Open

Use 'bitmap node' to support more pages #341

Mark-Song0618 opened this issue Feb 13, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Needs help from a contributor

Comments

@Mark-Song0618
Copy link
Contributor

Enhancement
Currently, the max page cnt of a file is about 65,000. It is limited by ths size of BPFileHeader::bitmap.
Shall we use the bitmap node:

struct BitmapNode {
PageNum prev;
PageNum next;
char bitmap[0];
}

to support Infinite number of pages ?

@Mark-Song0618 Mark-Song0618 added the enhancement New feature or request label Feb 13, 2024
@Mark-Song0618 Mark-Song0618 changed the title Use 'bitmap' node to support more pages Use 'bitmap node' to support more pages Feb 14, 2024
@hnwyllmm
Copy link
Collaborator

hnwyllmm commented Feb 14, 2024 via email

@hnwyllmm hnwyllmm added the help wanted Needs help from a contributor label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Needs help from a contributor
Projects
None yet
Development

No branches or pull requests

2 participants